Close all menus on window show
authorKevin Ottens <kevin.ottens@nextcloud.com>
Mon, 15 Jun 2020 17:01:04 +0000 (19:01 +0200)
committerCamila <smayres@gmail.com>
Tue, 16 Jun 2020 16:52:20 +0000 (18:52 +0200)
We previously missed the app menu which wasn't closed.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/tray/Window.qml

index 8128e4dd53e25aa947e5f6e2f08ae02a879dfbf1..31983684c1a14e474aa6334eb0189fb91cf52e05 100644 (file)
@@ -56,6 +56,7 @@ Window {
         target: Systray\r
         onShowWindow: {\r
             accountMenu.close();\r
+            appsMenu.close();\r
 \r
             trayWindow.screen = Qt.application.screens[Systray.currentScreenIndex()];\r
 \r