Skip to content
Snippets Groups Projects
Unverified Commit 8846a2a0 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Fix potential issue with modifiers and edit shortcuts

parent 345dc1e6
No related branches found
No related tags found
No related merge requests found
......@@ -208,7 +208,7 @@ Rectangle {
} else if (event.key == Qt.Key_Down && popup.opened) {
event.accepted = true;
popup.down();
} else if (event.key == Qt.Key_Up) {
} else if (event.key == Qt.Key_Up && event.modifiers == Qt.NoModifier) {
if (cursorPosition == 0) {
event.accepted = true;
var idx = TimelineManager.timeline.edit ? TimelineManager.timeline.idToIndex(TimelineManager.timeline.edit) + 1 : 0;
......@@ -225,7 +225,7 @@ Rectangle {
event.accepted = true;
cursorPosition = 0;
}
} else if (event.key == Qt.Key_Down) {
} else if (event.key == Qt.Key_Down && event.modifiers == Qt.NoModifier) {
if (cursorPosition == 0) {
event.accepted = true;
cursorPosition = messageInput.length;
......
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