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:
parent
1094cc5331
commit
1c1849ec1a
|
@ -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 )
|
||||
|
|
Loading…
Reference in New Issue