From 80805c5747c65e85fc68630bcc41e5b1d41df15b Mon Sep 17 00:00:00 2001 From: remi durand Date: Thu, 10 Jun 2021 22:29:12 +0200 Subject: [PATCH] fix reprapfirmware and a shortcut help text --- src/libslic3r/PrintConfig.hpp | 2 +- src/slic3r/GUI/KBShortcutsDialog.cpp | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/PrintConfig.hpp b/src/libslic3r/PrintConfig.hpp index c11c5c8cb..45a1f4f81 100644 --- a/src/libslic3r/PrintConfig.hpp +++ b/src/libslic3r/PrintConfig.hpp @@ -193,7 +193,7 @@ template<> inline const t_config_enum_values& ConfigOptionEnum::get_en template<> inline const t_config_enum_values& ConfigOptionEnum::get_enum_values() { static t_config_enum_values keys_map = { - {"reprap", gcfRepRap}, + {"reprapfirmware", gcfRepRap}, {"repetier", gcfRepetier}, {"teacup", gcfTeacup}, {"makerware", gcfMakerWare}, diff --git a/src/slic3r/GUI/KBShortcutsDialog.cpp b/src/slic3r/GUI/KBShortcutsDialog.cpp index 6a5c235dd..42a92b8f1 100644 --- a/src/slic3r/GUI/KBShortcutsDialog.cpp +++ b/src/slic3r/GUI/KBShortcutsDialog.cpp @@ -109,7 +109,11 @@ void KBShortcutsDialog::fill_shortcuts() { "0-6", L("Camera view") }, { "E", L("Show/Hide object/instance labels") }, // Configuration +#ifdef __APPLE__ + { ctrl + ",", L("Preferences") }, +#else { ctrl + "P", L("Preferences") }, +#endif // Help { "?", L("Show keyboard shortcuts list") } };