summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-08-14 12:19:15 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-08-14 12:19:15 +0200
commit24366b7520e051a1f3dd2827c27a0f2f57c9577d (patch)
tree061c8feeb4da30161929a98217139eae21eff0bf
parentFix shadowing (diff)
downloadnheko-24366b7520e051a1f3dd2827c27a0f2f57c9577d.tar.xz
Tab to move down completer
-rw-r--r--resources/qml/ForwardCompleter.qml3
-rw-r--r--resources/qml/QuickSwitcher.qml3
2 files changed, 6 insertions, 0 deletions
diff --git a/resources/qml/ForwardCompleter.qml b/resources/qml/ForwardCompleter.qml
index daf73cec..26752f92 100644
--- a/resources/qml/ForwardCompleter.qml
+++ b/resources/qml/ForwardCompleter.qml
@@ -86,6 +86,9 @@ Popup {
                 } else if (event.key == Qt.Key_Down && completerPopup.opened) {
                     event.accepted = true;
                     completerPopup.down();
+                } else if (event.key == Qt.Key_Tab && completerPopup.opened) {
+                    event.accepted = true;
+                    completerPopup.down();
                 } else if (event.matches(StandardKey.InsertParagraphSeparator)) {
                     completerPopup.finishCompletion();
                     event.accepted = true;
diff --git a/resources/qml/QuickSwitcher.qml b/resources/qml/QuickSwitcher.qml
index 61155acf..defcc611 100644
--- a/resources/qml/QuickSwitcher.qml
+++ b/resources/qml/QuickSwitcher.qml
@@ -45,6 +45,9 @@ Popup {
             } else if (event.key == Qt.Key_Down && completerPopup.opened) {
                 event.accepted = true;
                 completerPopup.down();
+            } else if (event.key == Qt.Key_Tab && completerPopup.opened) {
+                event.accepted = true;
+                completerPopup.down();
             } else if (event.matches(StandardKey.InsertParagraphSeparator)) {
                 completerPopup.finishCompletion();
                 event.accepted = true;