mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 15:57:55 -06:00
ENH:calibration&disable selection of invalid preset
Change-Id: If11aee0e86ae7d92ae283a701fd6ca3d75ec64e2
This commit is contained in:
parent
bc0273d734
commit
f134105b17
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue