зеркало из https://github.com/nextcloud/desktop.git
On escape pressed of unified search placeholder view, diable activeSearchFocus
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Родитель
e8eb8adf5f
Коммит
baedf1502e
|
@ -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 {
|
||||
|
|
Загрузка…
Ссылка в новой задаче