Fix typo causing OnItemsChanged() to get called too often.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16657
This commit is contained in:
Jeff Young 2024-01-24 11:36:39 +00:00
parent 6407576cb9
commit 9d88a9f60a
1 changed files with 0 additions and 1 deletions

View File

@ -689,7 +689,6 @@ void BOARD_COMMIT::Revert()
view->Add( boardItem ); view->Add( boardItem );
connectivity->Add( boardItem ); connectivity->Add( boardItem );
board->OnItemChanged( boardItem );
itemsChanged.push_back( boardItem ); itemsChanged.push_back( boardItem );
delete ent.m_copy; delete ent.m_copy;