1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-08-02 11:35:51 +00:00

ConfigWizard: Make bundle installation more intelligent, fixes

This commit is contained in:
Vojtech Kral
2018-04-11 13:12:08 +02:00
parent aaa8f133c0
commit 31ea03feb0
11 changed files with 159 additions and 68 deletions
+7 -1
View File
@@ -61,7 +61,13 @@ bool check_unsaved_changes()
%code%{ RETVAL=Slic3r::GUI::check_unsaved_changes(); %};
bool config_wizard(int fresh_start)
%code%{ RETVAL=Slic3r::GUI::config_wizard(fresh_start != 0); %};
%code%{
try {
RETVAL = Slic3r::GUI::config_wizard(fresh_start != 0);
} catch (std::exception& e) {
croak("%s\n", e.what());
}
%};
void open_preferences_dialog(int preferences_event)
%code%{ Slic3r::GUI::open_preferences_dialog(preferences_event); %};