From 94cfc1c05f888d228adf28a4d1ac5b65b2b17f09 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 1 May 2012 11:46:17 +0200 Subject: [PATCH] Fixed regression preventing to load config files from GUI. #336 --- lib/Slic3r/GUI/SkeinPanel.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI/SkeinPanel.pm b/lib/Slic3r/GUI/SkeinPanel.pm index ed1c67f2b..6b4a6372e 100644 --- a/lib/Slic3r/GUI/SkeinPanel.pm +++ b/lib/Slic3r/GUI/SkeinPanel.pm @@ -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;