Merge pull request #1457 from ankostis/fix1376-no-bom-transfer

Skip boolean `"exclude_from_bom"' when pasting element infos
This commit is contained in:
ispyisail
2026-10-13 16:22:08 +13:00
committed by GitHub
+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));
}