From 9621b59573c94da2c551192c3e0eab367c895fc3 Mon Sep 17 00:00:00 2001 From: Danny Date: Fri, 17 Apr 2026 21:38:53 -0500 Subject: [PATCH] Change menu role for close action in MainWindow Fixes issue in Mac OS where pressing Cmd+Q closes only the current window instead of quitting the application. menuRole is consulted only by Qt's native macOS menu-bar integration, so this change has no effect on Windows, Linux, or BSD. Fixes #1382 Signed-off-by: Danny Assisted-by: Claude:claude-opus-4-7 --- launcher/ui/MainWindow.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher/ui/MainWindow.ui b/launcher/ui/MainWindow.ui index 353788518..54b0b5e32 100644 --- a/launcher/ui/MainWindow.ui +++ b/launcher/ui/MainWindow.ui @@ -520,7 +520,7 @@ Close the current window - QAction::QuitRole + QAction::MenuRole::NoRole