Fix slave contact groups being trimmed to one when reopening element properties

This commit is contained in:
Kellermorph
2026-08-14 10:31:15 +02:00
parent 46aed59b8b
commit fe6191f26d
@@ -452,6 +452,9 @@ void ElementPropertiesEditorWidget::on_m_slave_groups_checkbox_toggled(bool chec
if (checked && !ui->max_slaves_checkbox->isChecked()) {
ui->max_slaves_checkbox->setChecked(true);
if (!m_data.m_slave_contact_groups.isEmpty()) {
ui->max_slaves_spinbox->setValue(m_data.m_slave_contact_groups.size());
}
}
if (checked) {