mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	FIX: [STUDIO-1800] enable_user_preset_folder before load preset
Change-Id: I1101cca75a82f73393d6565fc0a4740756011b8b (cherry picked from commit 06cf2b750aa42327ed8c57584ed90c0ff241068c)
This commit is contained in:
		
							parent
							
								
									41f5fabc2e
								
							
						
					
					
						commit
						1786ad26ca
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -2332,6 +2332,8 @@ bool GUI_App::on_init_inner() | ||||||
| 
 | 
 | ||||||
|     if (app_config->get("sync_user_preset") == "true" && m_agent && m_agent->is_user_login()) { |     if (app_config->get("sync_user_preset") == "true" && m_agent && m_agent->is_user_login()) { | ||||||
|         enable_user_preset_folder(true); |         enable_user_preset_folder(true); | ||||||
|  |     } else { | ||||||
|  |         enable_user_preset_folder(false); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     // BBS if load user preset failed
 |     // BBS if load user preset failed
 | ||||||
|  | @ -4017,7 +4019,7 @@ void GUI_App::start_sync_user_preset(bool with_progress_dlg) | ||||||
| { | { | ||||||
|     if (!m_agent) return; |     if (!m_agent) return; | ||||||
| 
 | 
 | ||||||
|     enable_user_preset_folder(true); |     enable_user_preset_folder(m_agent->is_user_login()); | ||||||
| 
 | 
 | ||||||
|     // has already start sync
 |     // has already start sync
 | ||||||
|     if (enable_sync) |     if (enable_sync) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 chunmao.guo
						chunmao.guo