1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-27 10:35:51 +00:00

Bugfix: random failure to load presets. #600

This commit is contained in:
Alessandro Ranellucci
2012-08-09 00:41:03 +02:00
parent 927b7ce937
commit 2bf219a637
3 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -717,7 +717,7 @@ sub on_config_change {
pop @$choices;
}
$self->Layout;
} elsif (exists $self->{config}{$opt_key}) {
} elsif ($self->{config}->has($opt_key)) {
$self->{config}->set($opt_key, $value);
$self->_update_bed_size if $opt_key eq 'bed_size';
}