diff options
author | bubnikv <bubnikv@gmail.com> | 2017-12-21 21:19:07 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-12-21 21:19:07 +0300 |
commit | 3addeb57b43a38cdf765abb2bf9147f3fdc034d0 (patch) | |
tree | 12623a6fbb6e1073d928a46d029f56a107432ee6 /lib | |
parent | 9d3ade81fa140d898a01fffac2a7ec06f022aef6 (diff) |
Fix of "Program crashes when [Suppress "- default -" presets:] is DISABLED"
https://github.com/prusa3d/Slic3r/issues/643
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Slic3r/GUI/MainFrame.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Slic3r/GUI/MainFrame.pm b/lib/Slic3r/GUI/MainFrame.pm index 6b07d761d..c91c59ea7 100644 --- a/lib/Slic3r/GUI/MainFrame.pm +++ b/lib/Slic3r/GUI/MainFrame.pm @@ -596,7 +596,7 @@ sub load_configbundle { wxTheApp->{app_config}->update_config_dir(dirname($file)); my $presets_imported = 0; - eval { $presets_imported = wxTheApp->{preset_bundle}->load_configbundle($file, $reset_user_profile ? 1 : 0); }; + eval { $presets_imported = wxTheApp->{preset_bundle}->load_configbundle($file); }; Slic3r::GUI::catch_error($self) and return; # Load the currently selected preset into the GUI, update the preset selection box. |