Added a missing locale switch needed for custom gcode validation when switching tabs
This commit is contained in:
parent
454b876420
commit
dca6db8635
1 changed files with 2 additions and 0 deletions
|
@ -857,6 +857,8 @@ bool GCodeProcessor::contains_reserved_tags(const std::string& gcode, unsigned i
|
|||
|
||||
bool ret = false;
|
||||
|
||||
CNumericLocalesSetter locales_setter;
|
||||
|
||||
GCodeReader parser;
|
||||
parser.parse_buffer(gcode, [&ret, &found_tag, max_count](GCodeReader& parser, const GCodeReader::GCodeLine& line) {
|
||||
std::string comment = line.raw();
|
||||
|
|
Loading…
Add table
Reference in a new issue