Skip to content
Snippets Groups Projects
Commit 2a5e20dc authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix cancel edit order on Escape key

parent 6c651361
No related branches found
No related tags found
No related merge requests found
......@@ -50,10 +50,10 @@ ListView {
Shortcut {
sequence: StandardKey.Cancel
onActivated: {
if (chat.model.edit)
chat.model.edit = undefined;
else
if (chat.model.reply)
chat.model.reply = undefined;
else
chat.model.edit = undefined;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment