Fixed regression causing bad loading of multi-extruder values in GUI. #1984
This commit is contained in:
parent
f7421053cc
commit
0b0ec7be37
1 changed files with 1 additions and 1 deletions
|
@ -743,7 +743,7 @@ sub _build_extruder_pages {
|
||||||
# extend options
|
# extend options
|
||||||
foreach my $opt_key ($self->_extruder_options) {
|
foreach my $opt_key ($self->_extruder_options) {
|
||||||
my $values = $self->{config}->get($opt_key);
|
my $values = $self->{config}->get($opt_key);
|
||||||
$values->[$extruder_idx] = $default_config->get_at($opt_key, 0);
|
$values->[$extruder_idx] //= $default_config->get_at($opt_key, 0);
|
||||||
$self->{config}->set($opt_key, $values)
|
$self->{config}->set($opt_key, $values)
|
||||||
or die "Unable to extend $opt_key";
|
or die "Unable to extend $opt_key";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue