diff options
author | Vojtech Bubnik <bubnikv@gmail.com> | 2021-12-15 15:43:30 +0300 |
---|---|---|
committer | Vojtech Bubnik <bubnikv@gmail.com> | 2021-12-15 15:43:37 +0300 |
commit | 56d50d7707a0801ee5b193843fc582ef0e6c3033 (patch) | |
tree | 116584fee827544ae245b9adaaf5f1faba07f0c5 /src/slic3r/GUI | |
parent | ab245a97a47681371b51fc328f85eab200b1b93d (diff) |
Delete existing vendors before importing newer vendors, as the existing
vendors may not be referenced by newer PrusaSlicer.ini imported.
Diffstat (limited to 'src/slic3r/GUI')
-rw-r--r-- | src/slic3r/GUI/GUI_App.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index 66258452a..13f76443c 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -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); |