mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
Fix crash when switching between printers with different AMS configs
This commit is contained in:
@@ -923,6 +923,8 @@ void AMSControl::ClearAms() {
|
||||
m_current_ams = "";
|
||||
m_current_select = "";
|
||||
|
||||
m_ams_generic_item_list.clear();
|
||||
m_ams_extra_item_list.clear();
|
||||
m_ams_item_list.clear();
|
||||
m_sizer_prv->Clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user