From 0ba6882c47b7e56a116bf4466dc10b7e3d7add04 Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Wed, 9 Apr 2025 10:12:07 -0400 Subject: [PATCH] commit: when deleting extra copy of double staged item, remove group --- common/commit.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/common/commit.cpp b/common/commit.cpp index 3316f76529..56ac03e297 100644 --- a/common/commit.cpp +++ b/common/commit.cpp @@ -142,6 +142,7 @@ COMMIT& COMMIT::createModified( EDA_ITEM* aItem, EDA_ITEM* aCopy, int aExtraFlag if( m_changedItems.find( parent ) != m_changedItems.end() ) { + aCopy->SetParentGroup( nullptr ); delete aCopy; return *this; // item has been already modified once }