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