From 6d734e95cc9d61e8594bf21439ede23ae88b26bd Mon Sep 17 00:00:00 2001 From: Mm2PL Date: Fri, 14 Jul 2023 13:34:07 +0200 Subject: [PATCH] Force shortcuts to show in context menus Hopefully fix #4657? --- src/RunGui.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/RunGui.cpp b/src/RunGui.cpp index 6d903bb452f..91391025e9a 100644 --- a/src/RunGui.cpp +++ b/src/RunGui.cpp @@ -86,6 +86,10 @@ namespace { QApplication::setWindowIcon(QIcon(":/icon.ico")); #endif + // On Mac/Cocoa platform specifically this attribute is enabled by default + QApplication::setAttribute(Qt::AA_DontShowShortcutsInContextMenus, + false); + installCustomPalette(); }