mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-03-30 06:46:55 +00:00
Footprint editor doesn't need grid overrides for tracks/vias.
This commit is contained in:
parent
9a7b82a8c0
commit
e48ad06cab
@ -48,7 +48,15 @@ PANEL_GRID_SETTINGS::PANEL_GRID_SETTINGS( wxWindow* aParent, UNITS_PROVIDER* aUn
|
||||
{
|
||||
m_currentGridCtrl->SetMinSize( FromDIP( m_currentGridCtrl->GetMinSize() ) );
|
||||
|
||||
if( m_frameType == FRAME_PCB_EDITOR || m_frameType == FRAME_FOOTPRINT_EDITOR )
|
||||
if( m_frameType == FRAME_FOOTPRINT_EDITOR )
|
||||
{
|
||||
m_checkGridOverrideConnected->SetLabel( _( "Pads:" ) );
|
||||
m_checkGridOverrideWires->Show( false );
|
||||
m_gridOverrideWiresChoice->Show( false );
|
||||
m_checkGridOverrideVias->Show( false );
|
||||
m_gridOverrideViasChoice->Show( false );
|
||||
}
|
||||
else if( m_frameType == FRAME_PCB_EDITOR )
|
||||
{
|
||||
m_checkGridOverrideConnected->SetLabel( _( "Footprints/pads:" ) );
|
||||
m_checkGridOverrideWires->SetLabel( _( "Tracks:" ) );
|
||||
|
Loading…
Reference in New Issue
Block a user