From 12a695a503e8a75883c890a234ff43e4b8d7d893 Mon Sep 17 00:00:00 2001 From: Kostis Anagnostopoulos Date: Sun, 11 Oct 2026 21:49:11 +0300 Subject: [PATCH] fix #1375 don't paste bool info 'exclude_from_bom', > it can never be "empty" so it is always overridden on target elements. --- sources/qetdiagrameditor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sources/qetdiagrameditor.cpp b/sources/qetdiagrameditor.cpp index a25842303..66d8104a2 100644 --- a/sources/qetdiagrameditor.cpp +++ b/sources/qetdiagrameditor.cpp @@ -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)); }