FIX: remove default value from tool tip
Change-Id: I3f51891f333014014971025bbbf2f1179d9d2cf3
This commit is contained in:
parent
a35ecc4fba
commit
36be714ed4
1 changed files with 1 additions and 3 deletions
|
@ -207,9 +207,7 @@ wxString Field::get_tooltip_text(const wxString &default_string)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (tooltip.length() > 0)
|
if (tooltip.length() > 0)
|
||||||
tooltip_text = tooltip + "\n" + _(L("default value")) + "\t: " +
|
tooltip_text = tooltip + "\n" +
|
||||||
(boost::iends_with(opt_id, "_gcode") ? "\n" : "") + default_string +
|
|
||||||
(boost::iends_with(opt_id, "_gcode") ? "" : "\n") +
|
|
||||||
_(L("parameter name")) + "\t: " + opt_id;
|
_(L("parameter name")) + "\t: " + opt_id;
|
||||||
#endif
|
#endif
|
||||||
return tooltip_text;
|
return tooltip_text;
|
||||||
|
|
Loading…
Reference in a new issue