mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 19:43:44 +00:00
pcbnew, undo_redo.cpp: fix a logical bug that can hang in rare cases.
This commit is contained in:
parent
1e1aaa249b
commit
30c001265b
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user