Don't leave undo items in a hidden state.

This commit is contained in:
Jeff Young 2023-12-11 15:03:08 +00:00
parent 453d0566ff
commit c9b5e3b012
1 changed files with 1 additions and 0 deletions

View File

@ -1340,6 +1340,7 @@ void PCB_TUNING_PATTERN::EditPush( GENERATOR_TOOL* aTool, BOARD* aBoard,
for( BOARD_ITEM* item : routerRemovedItems ) for( BOARD_ITEM* item : routerRemovedItems )
{ {
aFrame->GetCanvas()->GetView()->Hide( item, false );
aCommit->Remove( item ); aCommit->Remove( item );
} }