fix #1375 don't paste bool info 'exclude_from_bom', >

it can never be "empty" so it is always overridden on target elements.
This commit is contained in:
Kostis Anagnostopoulos
2026-10-11 21:49:11 +03:00
parent cce75f4306
commit 12a695a503
+2 -1
View File
@@ -3184,7 +3184,8 @@ void QETDiagramEditor::pasteElementInformations()
new_info.remove(QETInformation::ELMT_FORMULA_ID);
}
for (const QString &key : source.keys()) {
if (key == QETInformation::ELMT_FORMULA_ID && !keep_scheme_id)
if (key == QETInformation::ELMT_FORMULA_ID && !keep_scheme_id
|| key == "exclude_from_bom")
continue;
new_info.addValue(key, source.value(key), source.keyMustShow(key));
}