Fix tiny bug in PLC manager

This commit is contained in:
Kellermorph
2026-08-01 20:20:51 +02:00
parent c1694f2b4f
commit fed32be90e
@@ -376,6 +376,7 @@ QString ElementQueryWidget::queryStr() const
if (ui->m_plc_cb->isChecked()) { if (ui->m_plc_cb->isChecked()) {
if (b) where +=" OR"; if (b) where +=" OR";
where += QStringLiteral(" element_sub_type = '") += ElementData::masterTypeToString(ElementData::PLC) += "'"; where += QStringLiteral(" element_sub_type = '") += ElementData::masterTypeToString(ElementData::PLC) += "'";
b = true;
} }
where.append(")"); where.append(")");