mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Bugfix: random failure to load presets. #600
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user