mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-02 17:58:22 -05:00
Fix crash when switching between printers with different AMS configs
This commit is contained in:
1 parent
b88b1e4819
commit
b5c164fae6
1 file changed
+2
@@ -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