Delete existing vendors before importing newer vendors, as the existing

vendors may not be referenced by newer PrusaSlicer.ini imported.
This commit is contained in:
Vojtech Bubnik 2021-12-15 13:43:30 +01:00
parent ab245a97a4
commit 56d50d7707
4 changed files with 18 additions and 10 deletions

View file

@ -1166,7 +1166,7 @@ bool GUI_App::on_init_inner()
preset_bundle->setup_directories();
if (! older_data_dir_path.empty())
preset_bundle->copy_files(older_data_dir_path);
preset_bundle->import_newer_configs(older_data_dir_path);
// Save PrusaSlicer.ini after possibly copying the config from the alternate location and after all the configs from the alternate location were copied.
app_config->set("version", SLIC3R_VERSION);