diff --git a/src/slic3r/GUI/HintNotification.cpp b/src/slic3r/GUI/HintNotification.cpp index 291ce8f408..274c0a6168 100644 --- a/src/slic3r/GUI/HintNotification.cpp +++ b/src/slic3r/GUI/HintNotification.cpp @@ -14,6 +14,7 @@ #include "libslic3r/Config.hpp" #include "libslic3r/PrintConfig.hpp" +#include #include #include #include @@ -342,6 +343,9 @@ void HintDatabase::load_hints_from_file(const boost::filesystem::path& path) //unescape text1 unescape_string_cstyle(dict["text"], fulltext); fulltext = _utf8(fulltext); +#ifdef __APPLE__ + boost::replace_all(fulltext, "Ctrl", "Cmd"); +#endif //__APPLE__ // replace and for imgui markers std::string marker_s(1, ImGui::ColorMarkerStart); std::string marker_e(1, ImGui::ColorMarkerEnd);