mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	FIX: [STUDIO-3725] sync user presets go to wrong folder
Change-Id: I99348ebbf6f3deae471bc5078a0645b81663bf3a
This commit is contained in:
		
							parent
							
								
									83cd88d4b8
								
							
						
					
					
						commit
						583c6c86c2
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -4669,17 +4669,17 @@ void GUI_App::start_sync_user_preset(bool with_progress_dlg) | |||
|         cancelFn = [this, dlg]() { | ||||
|             return dlg->WasCanceled(); | ||||
|         }; | ||||
|         finishFn = [this, dlg](bool ok) { | ||||
|         finishFn = [this, userid = m_agent->get_user_id(), dlg](bool ok) { | ||||
|             CallAfter([=]{ | ||||
|                 dlg->Destroy(); | ||||
|                 if (ok) reload_settings(); | ||||
|                 if (ok && userid == m_agent->get_user_id()) reload_settings(); | ||||
|             }); | ||||
|         }; | ||||
|     } | ||||
|     else { | ||||
|         finishFn = [this](bool ok) { | ||||
|         finishFn = [this, userid = m_agent->get_user_id()](bool ok) { | ||||
|             CallAfter([=] { | ||||
|                 if (ok) reload_settings(); | ||||
|                 if (ok && userid == m_agent->get_user_id()) reload_settings(); | ||||
|             }); | ||||
|         }; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 chunmao.guo
						chunmao.guo