Fix typo causing OnItemsChanged() to get called too often.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16657
This commit is contained in:
parent
6407576cb9
commit
9d88a9f60a
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue