FIX: after load from ams should check compatibility

Change-Id: I28abfc1772c3397a38ec76e403f8ad599cc3a428
This commit is contained in:
liz.li 2023-07-04 16:06:29 +08:00 committed by Lane.Wei
parent f993f5e30d
commit 6129da5dc8

View file

@ -270,6 +270,11 @@ void FilamentComboBox::load_tray_from_ams(int id, DynamicPrintConfig& tray)
SetValue(false);
}
}
// check compatibility
wxCommandEvent event(EVT_CALI_TRAY_CHANGED);
event.SetEventObject(GetParent());
wxPostEvent(GetParent(), event);
}
void FilamentComboBox::update_from_preset() { m_comboBox->update(); }