Fixed regression preventing to load config files from GUI. #336

This commit is contained in:
Alessandro Ranellucci 2012-05-01 11:46:17 +02:00
parent ee33d570d7
commit 94cfc1c05f

View file

@ -307,7 +307,7 @@ sub load_config {
local $SIG{__WARN__} = Slic3r::GUI::warning_catcher($self);
Slic3r::Config->load($file);
};
$self->catch_error();
Slic3r::GUI::catch_error($self);
$_->() for @Slic3r::GUI::OptionsGroup::reload_callbacks;
}
$dlg->Destroy;