mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
FIX: remove user preset folder when logout
Change-Id: I64f0e46de7a91264c3c50188bbad2ac1409bcc0d
This commit is contained in:
parent
346480005a
commit
11c24053dd
3 changed files with 17 additions and 1 deletions
|
@ -3387,6 +3387,10 @@ void GUI_App::remove_user_presets()
|
|||
{
|
||||
if (preset_bundle && m_agent) {
|
||||
preset_bundle->remove_users_preset(*app_config);
|
||||
|
||||
std::string user_id = m_agent->get_user_id();
|
||||
preset_bundle->remove_user_presets_directory(user_id);
|
||||
|
||||
//update ui
|
||||
mainframe->update_side_preset_ui();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue