mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 09:02:06 +00:00
ENH:calibration&disable selection of invalid preset
Change-Id: If11aee0e86ae7d92ae283a701fd6ca3d75ec64e2
This commit is contained in:
@@ -289,6 +289,13 @@ void FilamentComboBox::load_tray_from_ams(int id, DynamicPrintConfig& tray)
|
||||
if (!m_comboBox->is_compatible_with_printer()) {
|
||||
SetValue(false);
|
||||
}
|
||||
|
||||
if (m_radioBox)
|
||||
m_radioBox->Enable(m_comboBox->is_compatible_with_printer());
|
||||
|
||||
if (m_checkBox)
|
||||
m_checkBox->Enable(m_comboBox->is_compatible_with_printer());
|
||||
|
||||
}
|
||||
|
||||
// check compatibility
|
||||
|
||||
Reference in New Issue
Block a user