mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-02 14:20:54 -07:00
Fix crash when switching between printers with different AMS configs
This commit is contained in:
parent
b88b1e4819
commit
b5c164fae6
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue