Close all menus on window show

We previously missed the app menu which wasn't closed.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
This commit is contained in:
Kevin Ottens 2020-06-15 19:01:04 +02:00 committed by Camila
parent 07bede8a56
commit f8e2e3403a

View File

@ -56,6 +56,7 @@ Window {
target: Systray
onShowWindow: {
accountMenu.close();
appsMenu.close();
trayWindow.screen = Qt.application.screens[Systray.currentScreenIndex()];