Dock: possible auto-hide fix

This commit is contained in:
Ly-sec
2025-11-03 21:20:15 +01:00
parent f46bb95274
commit 2c581e1f1f
2 changed files with 36 additions and 12 deletions
-3
View File
@@ -121,7 +121,6 @@ PopupWindow {
function show(item, toplevelData) {
if (!item) {
Logger.w("DockMenu", "anchorItem is undefined, won't show menu.")
return
}
@@ -175,8 +174,6 @@ PopupWindow {
if (root.onAppClosed && typeof root.onAppClosed === "function") {
Qt.callLater(root.onAppClosed)
}
} else {
Logger.w("DockMenu", "Cannot close app - invalid toplevel reference")
}
root.hide()
root.requestClose()