Fix crash when switching between printers with different AMS configs

This commit is contained in:
Noisyfox 2025-05-22 18:03:20 +08:00
parent b88b1e4819
commit b5c164fae6

View file

@ -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();
}