From 599be6ec3419cafc1ff1cc5e8745e8d99691fc2e Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 18 Aug 2025 20:14:30 +0100 Subject: [PATCH] Fix bone-headed mistake. --- common/commit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/commit.cpp b/common/commit.cpp index 5dc0ffa0b3..27a0d8fbce 100644 --- a/common/commit.cpp +++ b/common/commit.cpp @@ -181,7 +181,7 @@ void COMMIT::makeEntry( EDA_ITEM* aItem, CHANGE_TYPE aType, EDA_ITEM* aCopy, BAS // N.B. Do not throw an assertion for multiple changed items. An item can be changed // multiple times in a single commit such as when importing graphics and grouping them. - switch( aType ) + switch( aType & CHT_TYPE ) { case CHT_ADD: m_addedItems.insert( { aItem, aScreen } ); break; case CHT_REMOVE: m_deletedItems.insert( { aItem, aScreen } ); break;