mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	
							parent
							
								
									6490456ec4
								
							
						
					
					
						commit
						091585076c
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -884,7 +884,7 @@ void GUI_App::init_app_config() | |||
|             set_data_dir((dir + "/" + GetAppName()).ToUTF8().data()); | ||||
|         #endif | ||||
|     } else { | ||||
|         m_config_folder_redefined = true; | ||||
|         m_datadir_redefined = true; | ||||
|     } | ||||
| 
 | ||||
| 	if (!app_config) | ||||
|  | @ -918,7 +918,7 @@ void GUI_App::init_app_config() | |||
| 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) | ||||
|     if (m_datadir_redefined) | ||||
|         return false; | ||||
| 
 | ||||
|     // find other version app config (alpha / beta / release)
 | ||||
|  |  | |||
|  | @ -352,7 +352,7 @@ private: | |||
| 	void            check_updates(const bool verbose); | ||||
| 
 | ||||
|     bool                    m_init_app_config_from_older { false }; | ||||
|     bool                    m_config_folder_redefined { false };  | ||||
|     bool                    m_datadir_redefined { false };  | ||||
|     std::string             m_older_data_dir_path; | ||||
|     boost::optional<Semver> m_last_config_version; | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 David Kocik
						David Kocik