From: Claudio Cambra Date: Tue, 19 Nov 2024 06:02:00 +0000 (+0800) Subject: On escape pressed of unified search placeholder view, diable activeSearchFocus X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~5^2~25^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=baedf1502e08bce579b5d01f679cc42599066287;p=nextcloud-desktop.git On escape pressed of unified search placeholder view, diable activeSearchFocus Signed-off-by: Claudio Cambra --- diff --git a/src/gui/tray/MainWindow.qml b/src/gui/tray/MainWindow.qml index df558f0d1..d3d096038 100644 --- a/src/gui/tray/MainWindow.qml +++ b/src/gui/tray/MainWindow.qml @@ -270,6 +270,7 @@ ApplicationWindow { onTextEdited: { UserModel.currentUser.unifiedSearchResultsListModel.searchTerm = trayWindowUnifiedSearchInputContainer.text } onClearText: { UserModel.currentUser.unifiedSearchResultsListModel.searchTerm = "" } onActiveFocusChanged: activateSearchFocus = activeFocus && focusReason !== Qt.TabFocusReason && focusReason !== Qt.BacktabFocusReason + Keys.onEscapePressed: activateSearchFocus = false } Rectangle {