mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	FIX: clear ams filament list on user logout
Change-Id: I27417caa3dbcf7bb46bcb1b0182033ffb3b8825f
This commit is contained in:
		
							parent
							
								
									1337498efa
								
							
						
					
					
						commit
						e016f522fd
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -2906,6 +2906,7 @@ void GUI_App::request_user_logout()
 | 
			
		|||
        m_agent->set_user_selected_machine("");
 | 
			
		||||
        /* delete old user settings */
 | 
			
		||||
        m_device_manager->clean_user_info();
 | 
			
		||||
        GUI::wxGetApp().sidebar().load_ams_list({});
 | 
			
		||||
        GUI::wxGetApp().remove_user_presets();
 | 
			
		||||
        GUI::wxGetApp().stop_sync_user_preset();
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue