PresetUpdater: Bundle incompatibility / Slic3r downgrade scnario

This commit is contained in:
Vojtech Kral 2018-04-24 18:06:42 +02:00
parent a7a8030fea
commit fea5603409
14 changed files with 480 additions and 162 deletions

View file

@ -60,10 +60,10 @@ void set_app_config(AppConfig *app_config)
bool check_unsaved_changes()
%code%{ RETVAL=Slic3r::GUI::check_unsaved_changes(); %};
void config_wizard_startup(int app_config_exists)
bool config_wizard_startup(int app_config_exists)
%code%{
try {
Slic3r::GUI::config_wizard_startup(app_config_exists != 0);
RETVAL=Slic3r::GUI::config_wizard_startup(app_config_exists != 0);
} catch (std::exception& e) {
croak("%s\n", e.what());
}