mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 11:17:51 -06:00
Bugfix: random failure to load presets. #600
This commit is contained in:
parent
927b7ce937
commit
2bf219a637
3 changed files with 12 additions and 4 deletions
|
@ -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';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue