Clear IS_MOVING (as well as IS_NEW) in SCH_COMMIT::Push().

Fixes https://gitlab.com/kicad/code/kicad/-/issues/15051
This commit is contained in:
Jeff Young 2023-06-24 17:06:57 +01:00
parent 1094cc5331
commit 1c1849ec1a
1 changed files with 2 additions and 2 deletions

View File

@ -250,8 +250,6 @@ void SCH_COMMIT::pushSchEdit( const wxString& aMessage, int aCommitFlags )
bulkAddedItems.push_back( schItem );
schItem->ClearFlags( IS_NEW );
break;
}
@ -317,6 +315,8 @@ void SCH_COMMIT::pushSchEdit( const wxString& aMessage, int aCommitFlags )
wxASSERT( false );
break;
}
schItem->ClearFlags( IS_NEW | IS_MOVING );
}
if( frame )