mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Allow copy-track-width to co-exist with current-track-width.
This commit is contained in:
parent
44dbe3577b
commit
3759c71558
@ -200,7 +200,6 @@ void PCB_EDIT_FRAME::Tracks_and_Vias_Size_Event( wxCommandEvent& event )
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
GetDesignSettings().m_UseConnectedTrackWidth = false;
|
|
||||||
GetDesignSettings().SetTrackWidthIndex( ii );
|
GetDesignSettings().SetTrackWidthIndex( ii );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -722,7 +722,7 @@ void PCB_EDIT_FRAME::OnUpdateSelectTrackWidth( wxUpdateUIEvent& aEvent )
|
|||||||
BOARD_DESIGN_SETTINGS& bds = GetDesignSettings();
|
BOARD_DESIGN_SETTINGS& bds = GetDesignSettings();
|
||||||
int sel;
|
int sel;
|
||||||
|
|
||||||
if( bds.m_UseConnectedTrackWidth || bds.UseCustomTrackViaSize() )
|
if( bds.UseCustomTrackViaSize() )
|
||||||
sel = wxNOT_FOUND;
|
sel = wxNOT_FOUND;
|
||||||
else
|
else
|
||||||
sel = bds.GetTrackWidthIndex();
|
sel = bds.GetTrackWidthIndex();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user