FIX:FIXED AMSapping popip window will display all ams

Change-Id: I98fae37cca90f7348d026e91e1b785af958f2f46
This commit is contained in:
tao wang 2023-02-21 10:51:11 +08:00 committed by Lane.Wei
parent c09fca6e60
commit 9b59fb4cbc
1 changed files with 4 additions and 0 deletions

View File

@ -331,6 +331,10 @@ void AmsMapingPopup::update_ams_data(std::map<std::string, Ams*> amsList)
m_has_unmatch_filament = false;
//m_mapping_item_list.clear();
for (auto& ams_container : m_amsmapping_container_list) {
ams_container->Hide();
}
for (wxWindow *mitem : m_mapping_item_list) {
mitem->Destroy();