From 55bb63f2a570e85e20d28f01fc4702358c432fbd Mon Sep 17 00:00:00 2001 From: bbedward Date: Tue, 5 Aug 2025 15:42:16 -0400 Subject: [PATCH] fix nil error --- Modules/TopBar/TopBar.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Modules/TopBar/TopBar.qml b/Modules/TopBar/TopBar.qml index a04d79b3..ae004d97 100644 --- a/Modules/TopBar/TopBar.qml +++ b/Modules/TopBar/TopBar.qml @@ -540,7 +540,9 @@ PanelWindow { systemTrayContextMenu.contextMenuX = rightSection.x + rightSection.width - 400 - Theme.spacingL; systemTrayContextMenu.contextMenuY = Theme.barHeight - Theme.spacingXS; systemTrayContextMenu.showContextMenu = true; - menu.menuVisible = true; + if (menu) { + menu.menuVisible = true; + } } }