Optimize DIALOG_GLOBAL_EDIT_TRACKS_AND_VIAS: a time consuming call (OnModify())
was made for each item change. It is now made only once. Fixes #10905 https://gitlab.com/kicad/code/kicad/issues/10905
This commit is contained in:
@@ -76,8 +76,6 @@ void PCB_EDIT_FRAME::SetTrackSegmentWidth( PCB_TRACK* aTrackItem,
|
||||
|
||||
if( initial_width != new_width || initial_drill != new_drill )
|
||||
{
|
||||
OnModify();
|
||||
|
||||
if( aItemsListPicker )
|
||||
{
|
||||
aTrackItem->SetWidth( initial_width );
|
||||
|
||||
Reference in New Issue
Block a user