summary refs log tree commit diff
path: root/resources/qml/ForwardCompleter.qml
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-08-28 00:38:33 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-08-29 16:32:22 +0200
commit09c041c8ac40d2d3608c7224614fde69e1e4f08b (patch)
treeb606a260d7f22a703684e186a0af9d8215be734d /resources/qml/ForwardCompleter.qml
parentRemove CC-BY as main project license (diff)
downloadnheko-09c041c8ac40d2d3608c7224614fde69e1e4f08b.tar.xz
Use in memory media player instead of storing unencrypted files on disk
Diffstat (limited to 'resources/qml/ForwardCompleter.qml')
-rw-r--r--resources/qml/ForwardCompleter.qml5
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/qml/ForwardCompleter.qml b/resources/qml/ForwardCompleter.qml
index fdfcec6f..eccd6ce9 100644
--- a/resources/qml/ForwardCompleter.qml
+++ b/resources/qml/ForwardCompleter.qml
@@ -85,11 +85,10 @@ Popup {
                     completerPopup.up();
                 } else if ((event.key == Qt.Key_Down || event.key == Qt.Key_Tab) && completerPopup.opened) {
                     event.accepted = true;
-                    if (event.key == Qt.Key_Tab && (event.modifiers & Qt.ShiftModifier)) {
+                    if (event.key == Qt.Key_Tab && (event.modifiers & Qt.ShiftModifier))
                         completerPopup.up();
-                    } else {
+                    else
                         completerPopup.down();
-                    }
                 } else if (event.matches(StandardKey.InsertParagraphSeparator)) {
                     completerPopup.finishCompletion();
                     event.accepted = true;