mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-08-02 18:14:13 +02:00
Merge pull request #623 from Kellermorph/plc-quickfix
Fix tiny bug in PLC manager
This commit is contained in:
@@ -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(")");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user