Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2019-02-03 13:10:25 +0300
committerbubnikv <bubnikv@gmail.com>2019-02-03 13:10:25 +0300
commitf050d912395523162d1234a61158d58558635f2f (patch)
tree7a40dd2b91bc93121d21456e622fc32eb0c12486 /src/slic3r/GUI/KBShortcutsDialog.cpp
parenta56f7d60e58f05624ccb45573e4d6344c71a9692 (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.cpp9
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);