diff options
author | bubnikv <bubnikv@gmail.com> | 2019-02-03 13:10:25 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-02-03 13:10:25 +0300 |
commit | f050d912395523162d1234a61158d58558635f2f (patch) | |
tree | 7a40dd2b91bc93121d21456e622fc32eb0c12486 /src/slic3r/GUI/KBShortcutsDialog.cpp | |
parent | a56f7d60e58f05624ccb45573e4d6344c71a9692 (diff) |
OSX specific: The Command short keys over the 3D scene toolbars
are now shown with the OSX "Command" symbols, not as "Ctrl+"
Diffstat (limited to 'src/slic3r/GUI/KBShortcutsDialog.cpp')
-rw-r--r-- | src/slic3r/GUI/KBShortcutsDialog.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/slic3r/GUI/KBShortcutsDialog.cpp b/src/slic3r/GUI/KBShortcutsDialog.cpp index 3aeda0348..d893d6f76 100644 --- a/src/slic3r/GUI/KBShortcutsDialog.cpp +++ b/src/slic3r/GUI/KBShortcutsDialog.cpp @@ -88,13 +88,8 @@ KBShortcutsDialog::KBShortcutsDialog() void KBShortcutsDialog::fill_shortcuts() { -#ifdef __WXOSX__ - const std::string ctrl = "⌘"; - const std::string alt = "⌥"; -#else - const std::string ctrl = "Ctrl+"; - const std::string alt = "Alt+"; -#endif // __WXOSX__ + const std::string &ctrl = GUI::shortkey_ctrl_prefix(); + const std::string &alt = GUI::shortkey_alt_prefix(); m_full_shortcuts.reserve(4); |