Showing the changes to interface/src/Menu.cpp (1 of 18 files). Show all
Unified · Split
| @@ -944,6 +944,7 @@ void Menu::addMenuItem(const MenuItemProperties& properties) { · 943 unmodified lines | ||
| 944 | 944 | QShortcut* shortcut = NULL; |
| 945 | 945 | if (!properties.shortcutKeySequence.isEmpty()) { |
| 946 | 946 | shortcut = new QShortcut(properties.shortcutKeySequence, this); |
| 947 | + shortcut->setContext(Qt::WidgetWithChildrenShortcut); | |
| 947 | 948 | } |
| 948 | 949 | |
| 949 | 950 | // check for positioning requests |