From a8b8c73ab8e30425ede7980722364ae17bc1f124 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 28 Mar 2019 16:52:23 +0000 Subject: [PATCH] Set initial focus to track width / via size. Fixes: lp:1822177 * https://bugs.launchpad.net/kicad/+bug/1822177 --- pcbnew/dialogs/dialog_track_via_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/dialogs/dialog_track_via_properties.cpp b/pcbnew/dialogs/dialog_track_via_properties.cpp index 70fc595c3a..b7fec69038 100644 --- a/pcbnew/dialogs/dialog_track_via_properties.cpp +++ b/pcbnew/dialogs/dialog_track_via_properties.cpp @@ -282,7 +282,7 @@ DIALOG_TRACK_VIA_PROPERTIES::DIALOG_TRACK_VIA_PROPERTIES( PCB_BASE_FRAME* aParen else m_lockedCbox->Set3StateValue( wxCHK_UNCHECKED ); - SetInitialFocus( m_tracks ? m_TrackStartXCtrl : m_ViaXCtrl ); + SetInitialFocus( m_tracks ? m_TrackWidthCtrl : m_ViaDiameterCtrl ); m_StdButtonsOK->SetDefault();