Nomenclature export : add coil and protection query

This commit is contained in:
Laurent Trinques
2019-11-06 14:16:55 +01:00
parent ce190dd323
commit 9c874af52e
2 changed files with 18 additions and 0 deletions

View File

@@ -475,6 +475,10 @@ QString BOMExportDialog::queryStr() const
where = " WHERE element_subtype = 'commutator'";
} else if (ui->m_terminal_rb->isChecked()) {
where = " WHERE element_type = 'Terminale'";
} else if (ui->m_coil_rb->isChecked()) {
where = " WHERE element_subtype = 'coil'";
} else if (ui->m_protection_rb ->isChecked()) {
where = " WHERE element_subtype = 'protection'";
}
QString where_bom;
if(ui->m_format_as_bom_rb->isChecked())