Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1742 from treygreer/master

fixed simple config load bug
  • Loading branch information...
commit bba69ed22f06677672757d1a8991fc98efb4445b 2 parents 56ff776 + 0dba3de
@alexrj authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/Slic3r/GUI/SimpleTab.pm
View
2  lib/Slic3r/GUI/SimpleTab.pm
@@ -71,7 +71,7 @@ sub load_config {
my $self = shift;
my ($config) = @_;
- foreach my $opt_key (grep $self->{config}->has($_), keys %$config) {
+ foreach my $opt_key (grep $self->{config}->has($_), @{$config->get_keys}) {
my $value = $config->get($opt_key);
$self->{config}->set($opt_key, $value);
$_->set_value($opt_key, $value) for @{$self->{optgroups}};
Please sign in to comment.
Something went wrong with that request. Please try again.