Disable custom track/via width when re-enabling connected width

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9887
This commit is contained in:
Jon Evans 2021-12-08 21:13:34 -05:00
parent a9168860e0
commit 48e95dcf7e
1 changed files with 1 additions and 0 deletions

View File

@ -111,6 +111,7 @@ void PCB_EDIT_FRAME::Tracks_and_Vias_Size_Event( wxCommandEvent& event )
case ID_AUX_TOOLBAR_PCB_SELECT_AUTO_WIDTH:
GetDesignSettings().m_UseConnectedTrackWidth =
not GetDesignSettings().m_UseConnectedTrackWidth;
GetDesignSettings().UseCustomTrackViaSize( false );
break;
case ID_POPUP_PCB_SELECT_USE_NETCLASS_VALUES: