mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 22:28:49 +03:00
Tab to move down completer
This commit is contained in:
parent
69e65cef2f
commit
24366b7520
2 changed files with 6 additions and 0 deletions
|
@ -86,6 +86,9 @@ Popup {
|
||||||
} else if (event.key == Qt.Key_Down && completerPopup.opened) {
|
} else if (event.key == Qt.Key_Down && completerPopup.opened) {
|
||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
completerPopup.down();
|
completerPopup.down();
|
||||||
|
} else if (event.key == Qt.Key_Tab && completerPopup.opened) {
|
||||||
|
event.accepted = true;
|
||||||
|
completerPopup.down();
|
||||||
} else if (event.matches(StandardKey.InsertParagraphSeparator)) {
|
} else if (event.matches(StandardKey.InsertParagraphSeparator)) {
|
||||||
completerPopup.finishCompletion();
|
completerPopup.finishCompletion();
|
||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
|
|
|
@ -45,6 +45,9 @@ Popup {
|
||||||
} else if (event.key == Qt.Key_Down && completerPopup.opened) {
|
} else if (event.key == Qt.Key_Down && completerPopup.opened) {
|
||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
completerPopup.down();
|
completerPopup.down();
|
||||||
|
} else if (event.key == Qt.Key_Tab && completerPopup.opened) {
|
||||||
|
event.accepted = true;
|
||||||
|
completerPopup.down();
|
||||||
} else if (event.matches(StandardKey.InsertParagraphSeparator)) {
|
} else if (event.matches(StandardKey.InsertParagraphSeparator)) {
|
||||||
completerPopup.finishCompletion();
|
completerPopup.finishCompletion();
|
||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
|
|
Loading…
Reference in a new issue