Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Bubnik <bubnikv@gmail.com>2021-12-15 12:30:15 +0300
committerVojtech Bubnik <bubnikv@gmail.com>2021-12-15 12:30:22 +0300
commitb95a83aec19e6366f8eb76dd1cd1a7b96c5437a7 (patch)
treef709b24a7634d575348005a7b6625a358b109d07 /src/slic3r/GUI
parent14cb4a131462fe38ba0d3b4f4d8912816daca8b0 (diff)
Bugfix: Loading of AppConfig from an alternate locations.
Diffstat (limited to 'src/slic3r/GUI')
-rw-r--r--src/slic3r/GUI/GUI_App.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp
index 54807b35d..81488c4b0 100644
--- a/src/slic3r/GUI/GUI_App.cpp
+++ b/src/slic3r/GUI/GUI_App.cpp
@@ -992,8 +992,7 @@ bool GUI_App::check_older_app_config(Semver current_version, bool backup)
// This will tell later (when config folder structure is sure to exists) to copy files from m_older_data_dir_path
m_init_app_config_from_older = true;
// load app config from older file
- app_config->set_loading_path((boost::filesystem::path(m_older_data_dir_path) / filename).string());
- std::string error = app_config->load();
+ std::string error = app_config->load((boost::filesystem::path(m_older_data_dir_path) / filename).string());
if (!error.empty()) {
// Error while parsing config file. We'll customize the error message and rethrow to be displayed.
if (is_editor()) {