mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 03:35:57 +08:00
Conditionally add ctrl+, hotkey to open settings
Only do this for mac, as it is not customary on other OSes CURA-9939
This commit is contained in:
parent
57b3b43096
commit
8ce2af290c
@ -187,7 +187,8 @@ Item
|
|||||||
//- https://doc.qt.io/qt-5/qmenubar.html#qmenubar-as-a-global-menu-bar
|
//- https://doc.qt.io/qt-5/qmenubar.html#qmenubar-as-a-global-menu-bar
|
||||||
text: (Qt.platform.os == "osx") ? "Configure Cura..." : catalog.i18nc("@action:inmenu", "Configure Cura...")
|
text: (Qt.platform.os == "osx") ? "Configure Cura..." : catalog.i18nc("@action:inmenu", "Configure Cura...")
|
||||||
icon.name: "configure"
|
icon.name: "configure"
|
||||||
shortcut: "Ctrl+,"
|
// on MacOS it us customary to assign the ctrl+, hotkey to open a general settings menu
|
||||||
|
shortcut: (Qt.platform.os == "osx") ? "Ctrl+," : ""
|
||||||
}
|
}
|
||||||
|
|
||||||
Action
|
Action
|
||||||
|
Loading…
x
Reference in New Issue
Block a user