Undo redo change and code cleanup.

This commit is contained in:
jean-pierre charras
2012-02-05 14:02:46 +01:00
parent 8e846082bb
commit 08ef741770
23 changed files with 102 additions and 125 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ bool PCB_EDIT_FRAME::SetTrackSegmentWidth( TRACK* aTrackItem,
{
aTrackItem->m_Width = initial_width;
ITEM_PICKER picker( aTrackItem, UR_CHANGED );
picker.m_Link = aTrackItem->Clone();
picker.SetLink( aTrackItem->Clone() );
aItemsListPicker->PushItem( picker );
aTrackItem->m_Width = new_width;