From e48ad06cab788e887d4f1d640ce87465ddbd9ba0 Mon Sep 17 00:00:00 2001
From: Jeff Young <jeff@rokeby.ie>
Date: Tue, 25 Mar 2025 10:38:41 +0000
Subject: [PATCH] Footprint editor doesn't need grid overrides for tracks/vias.

---
 common/dialogs/panel_grid_settings.cpp | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/common/dialogs/panel_grid_settings.cpp b/common/dialogs/panel_grid_settings.cpp
index f0f2395f8f..d85e21284f 100644
--- a/common/dialogs/panel_grid_settings.cpp
+++ b/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:" ) );