pcbnew, undo_redo.cpp: fix a logical bug that can hang in rare cases.

This commit is contained in:
jean-pierre charras 2021-09-08 13:05:47 +02:00
parent 1e1aaa249b
commit 30c001265b
1 changed files with 0 additions and 2 deletions

View File

@ -412,8 +412,6 @@ void PCB_BASE_EDIT_FRAME::PutDataInPreviousState( PICKED_ITEMS_LIST* aList )
// Remove this non existent item
aList->RemovePicker( ii );
ii++; // the current item was removed, ii points now the next item
// decrement it because it will be incremented later
not_found = true;
if( aList->GetCount() == 0 )