Browse Source

Footprint editor doesn't need grid overrides for tracks/vias.

revert-0c36e162
Jeff Young 8 months ago
parent
commit
e48ad06cab
  1. 10
      common/dialogs/panel_grid_settings.cpp

10
common/dialogs/panel_grid_settings.cpp

@ -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…
Cancel
Save