Tray: Close drawer when a tray item is actioned.

This commit is contained in:
ItsLemmy
2025-11-12 09:12:04 -05:00
parent f15e900a21
commit 9215df3fcb
+8
View File
@@ -206,6 +206,14 @@ PopupWindow {
if (modelData && !modelData.isSeparator && !modelData.hasChildren) {
modelData.triggered()
root.hideMenu()
// Close the drawer if it's open
if (screen) {
const panel = PanelService.getPanel("trayDrawerPanel", screen)
if (panel && panel.visible) {
panel.close()
}
}
}
}