From fc033081bdfc04eefca3f83c5664c4c3f28c7453 Mon Sep 17 00:00:00 2001 From: Ly-sec Date: Sat, 15 Nov 2025 22:54:39 +0100 Subject: [PATCH] TrayMenu: cleanup --- Modules/Bar/Extras/TrayMenu.qml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Modules/Bar/Extras/TrayMenu.qml b/Modules/Bar/Extras/TrayMenu.qml index f6009ac2..0f6fbbe1 100644 --- a/Modules/Bar/Extras/TrayMenu.qml +++ b/Modules/Bar/Extras/TrayMenu.qml @@ -103,7 +103,6 @@ PopupWindow { return } - // IMPORTANT: Set the menu BEFORE loading items if (!isSubMenu && trayItem && trayItem.menu) { menu = trayItem.menu } @@ -148,11 +147,6 @@ PopupWindow { hoverEnabled: true } - Item { - anchors.fill: parent - Keys.onEscapePressed: root.hideMenu() - } - QsMenuOpener { id: opener menu: root.menu