Allow copy-track-width to co-exist with current-track-width.

This commit is contained in:
Jeff Young 2020-10-12 21:00:13 +01:00
parent 44dbe3577b
commit 3759c71558
2 changed files with 1 additions and 2 deletions

View File

@ -200,7 +200,6 @@ void PCB_EDIT_FRAME::Tracks_and_Vias_Size_Event( wxCommandEvent& event )
}
else
{
GetDesignSettings().m_UseConnectedTrackWidth = false;
GetDesignSettings().SetTrackWidthIndex( ii );
}

View File

@ -722,7 +722,7 @@ void PCB_EDIT_FRAME::OnUpdateSelectTrackWidth( wxUpdateUIEvent& aEvent )
BOARD_DESIGN_SETTINGS& bds = GetDesignSettings();
int sel;
if( bds.m_UseConnectedTrackWidth || bds.UseCustomTrackViaSize() )
if( bds.UseCustomTrackViaSize() )
sel = wxNOT_FOUND;
else
sel = bds.GetTrackWidthIndex();