Ternary operator is given wxString and std::string, which does not work when implicit conversions between std::string and wxString are disabled
This commit is contained in:
Lukas Matena 2020-02-25 15:43:54 +01:00
parent c326b31c92
commit aa8c97803c

View file

@ -1010,7 +1010,7 @@ wxString Control::get_tooltip(int tick/*=-1*/)
tick_code_it->gcode == ToolChangeCode ?
from_u8((boost::format(_utf8(L("Extruder (tool) is changed to Extruder \"%1%\""))) %
tick_code_it->extruder ).str()) :
tick_code_it->gcode;
from_u8(tick_code_it->gcode);
// If tick is marked as a conflict (exclamation icon),
// we should to explain why