mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Bugfix: configuration wizard led to crash with simple mode. #1077
This commit is contained in:
@@ -243,7 +243,9 @@ sub config_wizard {
|
|||||||
|
|
||||||
return unless $self->check_unsaved_changes;
|
return unless $self->check_unsaved_changes;
|
||||||
if (my $config = Slic3r::GUI::ConfigWizard->new($self)->run) {
|
if (my $config = Slic3r::GUI::ConfigWizard->new($self)->run) {
|
||||||
|
if ($self->{mode} eq 'expert') {
|
||||||
$_->select_default_preset for values %{$self->{options_tabs}};
|
$_->select_default_preset for values %{$self->{options_tabs}};
|
||||||
|
}
|
||||||
$self->load_config($config);
|
$self->load_config($config);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user