Bugfix: configuration wizard led to crash with simple mode. #1077

This commit is contained in:
Alessandro Ranellucci 2013-04-03 19:26:59 +02:00
parent 88e70a59c7
commit b725847a51

View file

@ -243,7 +243,9 @@ sub config_wizard {
return unless $self->check_unsaved_changes;
if (my $config = Slic3r::GUI::ConfigWizard->new($self)->run) {
if ($self->{mode} eq 'expert') {
$_->select_default_preset for values %{$self->{options_tabs}};
}
$self->load_config($config);
}
}