Fixed regression causing bad loading of multi-extruder values in GUI. #1984

visilibity
Alessandro Ranellucci 2014-04-28 22:31:29 +02:00
parent f7421053cc
commit 0b0ec7be37
1 changed files with 1 additions and 1 deletions

View File

@ -743,7 +743,7 @@ sub _build_extruder_pages {
# extend options
foreach my $opt_key ($self->_extruder_options) {
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)
or die "Unable to extend $opt_key";
}