Browse Source

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

6.0.7
jean-pierre charras 4 years ago
parent
commit
30c001265b
  1. 2
      pcbnew/undo_redo.cpp

2
pcbnew/undo_redo.cpp

@ -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…
Cancel
Save