mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Tray: warning fix
This commit is contained in:
@@ -343,10 +343,9 @@ Rectangle {
|
||||
return
|
||||
}
|
||||
|
||||
// Close the drawer if it's open (when opening menu for pinned item)
|
||||
const drawerPanel = PanelService.getPanel("trayDrawerPanel", screen)
|
||||
if (drawerPanel && drawerPanel.visible) {
|
||||
drawerPanel.close()
|
||||
// Close any opened panel
|
||||
if ((PanelService.openedPanel !== null) && !PanelService.openedPanel.isClosing) {
|
||||
PanelService.openedPanel.close()
|
||||
}
|
||||
|
||||
if (modelData.hasMenu && modelData.menu && trayMenuWindow && trayMenu && trayMenu.item) {
|
||||
|
||||
Reference in New Issue
Block a user