From 3759c7155886ba3bbce600dbfa0d42a500bf17df Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Mon, 12 Oct 2020 21:00:13 +0100 Subject: [PATCH] Allow copy-track-width to co-exist with current-track-width. --- pcbnew/edit_track_width.cpp | 1 - pcbnew/toolbars_pcb_editor.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pcbnew/edit_track_width.cpp b/pcbnew/edit_track_width.cpp index 8ceeb2b32f..056a6d051e 100644 --- a/pcbnew/edit_track_width.cpp +++ b/pcbnew/edit_track_width.cpp @@ -200,7 +200,6 @@ void PCB_EDIT_FRAME::Tracks_and_Vias_Size_Event( wxCommandEvent& event ) } else { - GetDesignSettings().m_UseConnectedTrackWidth = false; GetDesignSettings().SetTrackWidthIndex( ii ); } diff --git a/pcbnew/toolbars_pcb_editor.cpp b/pcbnew/toolbars_pcb_editor.cpp index ac5dbed106..d7635620d0 100644 --- a/pcbnew/toolbars_pcb_editor.cpp +++ b/pcbnew/toolbars_pcb_editor.cpp @@ -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();