diff --git a/src/slic3r/GUI/GUI.cpp b/src/slic3r/GUI/GUI.cpp index 78d9c9839b..481f335d39 100644 --- a/src/slic3r/GUI/GUI.cpp +++ b/src/slic3r/GUI/GUI.cpp @@ -80,7 +80,8 @@ void break_to_debugger() const std::string& shortkey_shift_prefix() { - return _u8L("Shift+"); + static const std::string str = _u8L("Shift+"); + return str; } const std::string& shortkey_ctrl_prefix()