Fixed double-label for fan speed-up time, fixed label to include hyphen (#996)

Fixed double-label for fan speed-up time, fixed label to include hyphen.
This commit is contained in:
Scott Mudge 2023-05-08 10:24:39 -04:00 committed by GitHub
parent 73e14c90ea
commit 884041960e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -1784,7 +1784,8 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionBool(false)); def->set_default_value(new ConfigOptionBool(false));
def = this->add("fan_speedup_time", coFloat); def = this->add("fan_speedup_time", coFloat);
def->label = L("Fan Speedup Time"); // Label is set in Tab.cpp in the Line object.
//def->label = L("Fan speed-up time");
def->tooltip = L("Start the fan this number of seconds earlier than its target start time (you can use fractional seconds)." def->tooltip = L("Start the fan this number of seconds earlier than its target start time (you can use fractional seconds)."
" It assumes infinite acceleration for this time estimation, and will only take into account G1 and G0 moves (arc fitting" " It assumes infinite acceleration for this time estimation, and will only take into account G1 and G0 moves (arc fitting"
" is unsupported)." " is unsupported)."

View file

@ -3096,7 +3096,7 @@ void TabPrinter::build_fff()
optgroup->append_single_option_line("machine_unload_filament_time"); optgroup->append_single_option_line("machine_unload_filament_time");
optgroup = page->new_optgroup(L("Cooling Fan")); optgroup = page->new_optgroup(L("Cooling Fan"));
Line line = Line{ L("Fan speedup time"), optgroup->get_option("fan_speedup_time").opt.tooltip }; Line line = Line{ L("Fan speed-up time"), optgroup->get_option("fan_speedup_time").opt.tooltip };
line.append_option(optgroup->get_option("fan_speedup_time")); line.append_option(optgroup->get_option("fan_speedup_time"));
line.append_option(optgroup->get_option("fan_speedup_overhangs")); line.append_option(optgroup->get_option("fan_speedup_overhangs"));
optgroup->append_line(line); optgroup->append_line(line);