mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 02:05:58 +08:00
FIX: clear ams filament list on user logout
Change-Id: I27417caa3dbcf7bb46bcb1b0182033ffb3b8825f
This commit is contained in:
parent
1337498efa
commit
e016f522fd
@ -2906,6 +2906,7 @@ void GUI_App::request_user_logout()
|
|||||||
m_agent->set_user_selected_machine("");
|
m_agent->set_user_selected_machine("");
|
||||||
/* delete old user settings */
|
/* delete old user settings */
|
||||||
m_device_manager->clean_user_info();
|
m_device_manager->clean_user_info();
|
||||||
|
GUI::wxGetApp().sidebar().load_ams_list({});
|
||||||
GUI::wxGetApp().remove_user_presets();
|
GUI::wxGetApp().remove_user_presets();
|
||||||
GUI::wxGetApp().stop_sync_user_preset();
|
GUI::wxGetApp().stop_sync_user_preset();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user