mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-28 01:41:59 +08:00
Fix of #3695
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:
parent
c326b31c92
commit
aa8c97803c
@ -1010,7 +1010,7 @@ wxString Control::get_tooltip(int tick/*=-1*/)
|
|||||||
tick_code_it->gcode == ToolChangeCode ?
|
tick_code_it->gcode == ToolChangeCode ?
|
||||||
from_u8((boost::format(_utf8(L("Extruder (tool) is changed to Extruder \"%1%\""))) %
|
from_u8((boost::format(_utf8(L("Extruder (tool) is changed to Extruder \"%1%\""))) %
|
||||||
tick_code_it->extruder ).str()) :
|
tick_code_it->extruder ).str()) :
|
||||||
tick_code_it->gcode;
|
from_u8(tick_code_it->gcode);
|
||||||
|
|
||||||
// If tick is marked as a conflict (exclamation icon),
|
// If tick is marked as a conflict (exclamation icon),
|
||||||
// we should to explain why
|
// we should to explain why
|
||||||
|
Loading…
x
Reference in New Issue
Block a user