Skip to content

Commit

Permalink
Fixed double-label for fan speed-up time, fixed label to include hyph…
Browse files Browse the repository at this point in the history
…en (bambulab#996)

Fixed double-label for fan speed-up time, fixed label to include hyphen.
  • Loading branch information
scottmudge authored May 8, 2023
1 parent 73e14c9 commit 8840419
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/libslic3r/PrintConfig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1784,7 +1784,8 @@ void PrintConfigDef::init_fff_params()
def->set_default_value(new ConfigOptionBool(false));

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)."
" It assumes infinite acceleration for this time estimation, and will only take into account G1 and G0 moves (arc fitting"
" is unsupported)."
Expand Down
2 changes: 1 addition & 1 deletion src/slic3r/GUI/Tab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3096,7 +3096,7 @@ void TabPrinter::build_fff()
optgroup->append_single_option_line("machine_unload_filament_time");

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_overhangs"));
optgroup->append_line(line);
Expand Down

0 comments on commit 8840419

Please sign in to comment.