From b95a83aec19e6366f8eb76dd1cd1a7b96c5437a7 Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Wed, 15 Dec 2021 10:30:15 +0100 Subject: Bugfix: Loading of AppConfig from an alternate locations. --- src/slic3r/GUI/GUI_App.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/slic3r/GUI') 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()) { -- cgit v1.2.3