mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
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 <dannydjdk@users.noreply.github.com> Assisted-by: Claude:claude-opus-4-7
This commit is contained in:
parent
e7a03d311c
commit
9621b59573
1 changed files with 1 additions and 1 deletions
|
|
@ -520,7 +520,7 @@
|
|||
<string>Close the current window</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::QuitRole</enum>
|
||||
<enum>QAction::MenuRole::NoRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionViewInstanceFolder">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue