From 02372d9237f10904d88e004308011e1817dee182 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Tue, 19 Nov 2024 13:37:47 +0800 Subject: [PATCH] Add a mouse area to allow de-focusing the unified search text field on click elsewhere Signed-off-by: Claudio Cambra --- src/gui/tray/MainWindow.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gui/tray/MainWindow.qml b/src/gui/tray/MainWindow.qml index b15a76e2cb6e2..5d9da51b81fc8 100644 --- a/src/gui/tray/MainWindow.qml +++ b/src/gui/tray/MainWindow.qml @@ -238,6 +238,11 @@ ApplicationWindow { Accessible.role: Accessible.Grouping Accessible.name: qsTr("Nextcloud desktop main dialog") + MouseArea { + anchors.fill: parent + onClicked: forceActiveFocus() + } + TrayWindowHeader { id: trayWindowHeader