Fixed regression preventing to load config files from GUI. #336
This commit is contained in:
parent
ee33d570d7
commit
94cfc1c05f
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ sub load_config {
|
||||||
local $SIG{__WARN__} = Slic3r::GUI::warning_catcher($self);
|
local $SIG{__WARN__} = Slic3r::GUI::warning_catcher($self);
|
||||||
Slic3r::Config->load($file);
|
Slic3r::Config->load($file);
|
||||||
};
|
};
|
||||||
$self->catch_error();
|
Slic3r::GUI::catch_error($self);
|
||||||
$_->() for @Slic3r::GUI::OptionsGroup::reload_callbacks;
|
$_->() for @Slic3r::GUI::OptionsGroup::reload_callbacks;
|
||||||
}
|
}
|
||||||
$dlg->Destroy;
|
$dlg->Destroy;
|
||||||
|
|
Loading…
Reference in a new issue