diff --git a/src/slic3r/GUI/GUI_App.cpp b/src/slic3r/GUI/GUI_App.cpp index c7654fcd6..20a4505d7 100644 --- a/src/slic3r/GUI/GUI_App.cpp +++ b/src/slic3r/GUI/GUI_App.cpp @@ -883,6 +883,8 @@ void GUI_App::init_app_config() dir = wxFileName::GetHomeDir() + wxS("/.config"); set_data_dir((dir + "/" + GetAppName()).ToUTF8().data()); #endif + } else { + m_config_folder_redefined = true; } if (!app_config) @@ -915,6 +917,10 @@ void GUI_App::init_app_config() // returns true if found newer version and user agreed to use it bool GUI_App::check_older_app_config(Semver current_version, bool backup) { + // If the config folder is redefined - do not check + if (m_config_folder_redefined) + return false; + // find other version app config (alpha / beta / release) std::string config_path = app_config->config_path(); boost::filesystem::path parent_file_path(config_path); diff --git a/src/slic3r/GUI/GUI_App.hpp b/src/slic3r/GUI/GUI_App.hpp index 82feb3282..4cfc96816 100644 --- a/src/slic3r/GUI/GUI_App.hpp +++ b/src/slic3r/GUI/GUI_App.hpp @@ -352,6 +352,7 @@ private: void check_updates(const bool verbose); bool m_init_app_config_from_older { false }; + bool m_config_folder_redefined { false }; std::string m_older_data_dir_path; boost::optional m_last_config_version; };