diff --git a/sources/ui/bomexportdialog.cpp b/sources/ui/bomexportdialog.cpp
index 134a3f41e..d0103207d 100644
--- a/sources/ui/bomexportdialog.cpp
+++ b/sources/ui/bomexportdialog.cpp
@@ -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())
diff --git a/sources/ui/bomexportdialog.ui b/sources/ui/bomexportdialog.ui
index 6073e475e..5b27223ed 100644
--- a/sources/ui/bomexportdialog.ui
+++ b/sources/ui/bomexportdialog.ui
@@ -220,6 +220,20 @@
+ -
+
+
+ Contacteur et relais
+
+
+
+ -
+
+
+ Protection : disjoncteur, sectionneur, relais thermique
+
+
+