applets/clipboard: reject up key event when search field has focus

Return the event to KeyNavigation in the future.
wilder-5.26
Fushan Wen 4 years ago
parent 77a58a1d0a
commit 7687a2536a
No known key found for this signature in database
GPG Key ID: 2E48D1487C91DCAA
  1. 3
      applets/clipboard/contents/ui/ClipboardPage.qml

@ -182,6 +182,9 @@ Menu {
clipboardMenu.view.currentIndex = -1;
filter.forceActiveFocus();
filter.selectAll();
} else if (filter.activeFocus) {
event.accepted = false;
return;
} else {
clipboardMenu.view.decrementCurrentIndex();
goToCurrent();

Loading…
Cancel
Save