mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 06:19:00 +08:00
Fixed regression causing bad loading of multi-extruder values in GUI. #1984
This commit is contained in:
parent
f7421053cc
commit
0b0ec7be37
@ -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";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user