From 14304215b3608cbf542d1ec075af5d4fb78f297c Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sun, 6 Mar 2022 16:59:40 +0000 Subject: [PATCH] Copy m_private flag in LIB_TEXT's clone(). Fixes https://gitlab.com/kicad/code/kicad/issues/11051 --- eeschema/lib_text.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/eeschema/lib_text.cpp b/eeschema/lib_text.cpp index d1a31d557a..49edec0feb 100644 --- a/eeschema/lib_text.cpp +++ b/eeschema/lib_text.cpp @@ -75,6 +75,7 @@ EDA_ITEM* LIB_TEXT::Clone() const newitem->m_unit = m_unit; newitem->m_convert = m_convert; + newitem->m_private = m_private; newitem->m_flags = m_flags; newitem->SetText( GetText() );