From 6507a4165ef1a2e1b498ea5dfd93a412ce62bc89 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Fri, 9 Sep 2022 18:05:59 +0100 Subject: [PATCH] Work around odd issue with wxWidgets initializing control wrong. --- eeschema/dialogs/panel_eeschema_editing_options.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eeschema/dialogs/panel_eeschema_editing_options.cpp b/eeschema/dialogs/panel_eeschema_editing_options.cpp index 07f8c70052..3c35915022 100644 --- a/eeschema/dialogs/panel_eeschema_editing_options.cpp +++ b/eeschema/dialogs/panel_eeschema_editing_options.cpp @@ -39,6 +39,9 @@ PANEL_EESCHEMA_EDITING_OPTIONS::PANEL_EESCHEMA_EDITING_OPTIONS( wxWindow* aWindo m_borderColorSwatch->SetDefaultColor( COLOR4D::UNSPECIFIED ); m_backgroundColorSwatch->SetDefaultColor( COLOR4D::UNSPECIFIED ); + m_spinLabelRepeatStep->SetRange( -100000, 100000 ); + m_spinLabelRepeatStep->SetIncrement( 1 ); + #ifdef __WXOSX_MAC__ m_leftClickCmdsBook->SetSelection( 1 ); #else