Skip to content

Commit

Permalink
Add a mouse area to allow de-focusing the unified search text field o…
Browse files Browse the repository at this point in the history
…n click elsewhere

Signed-off-by: Claudio Cambra <[email protected]>
  • Loading branch information
claucambra authored and mgallien committed Nov 21, 2024
1 parent 3f26947 commit 02372d9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gui/tray/MainWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 02372d9

Please sign in to comment.