mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Bugfix: configuration wizard crash 2 #1077
This commit is contained in:
@@ -234,9 +234,11 @@ sub load_config {
|
|||||||
my ($config) = @_;
|
my ($config) = @_;
|
||||||
|
|
||||||
foreach my $tab (values %{$self->{options_tabs}}) {
|
foreach my $tab (values %{$self->{options_tabs}}) {
|
||||||
|
if ($self->{mode} eq 'expert') {
|
||||||
$tab->set_value($_, $config->$_) for keys %$config;
|
$tab->set_value($_, $config->$_) for keys %$config;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
sub config_wizard {
|
sub config_wizard {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|||||||
Reference in New Issue
Block a user