Don't leave undo items in a hidden state.
This commit is contained in:
parent
453d0566ff
commit
c9b5e3b012
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue