From 26c25c547513a0d68b60d27fadd6fd6137082290 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 5 Jun 2023 15:03:03 +0300 Subject: [PATCH] Move bitmap setup to ctor in eeschema annotation options. --- eeschema/dialogs/panel_eeschema_annotation_options.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/eeschema/dialogs/panel_eeschema_annotation_options.cpp b/eeschema/dialogs/panel_eeschema_annotation_options.cpp index 912c97418d..2a8aa99143 100644 --- a/eeschema/dialogs/panel_eeschema_annotation_options.cpp +++ b/eeschema/dialogs/panel_eeschema_annotation_options.cpp @@ -37,6 +37,8 @@ PANEL_EESCHEMA_ANNOTATION_OPTIONS::PANEL_EESCHEMA_ANNOTATION_OPTIONS( PANEL_EESCHEMA_ANNOTATION_OPTIONS_BASE( aWindow ), m_schSettingsProvider( schSettingsProvider ) { + annotate_down_right_bitmap->SetBitmap( KiBitmap( BITMAPS::annotate_down_right ) ); + annotate_right_down_bitmap->SetBitmap( KiBitmap( BITMAPS::annotate_right_down ) ); } @@ -72,9 +74,6 @@ void PANEL_EESCHEMA_ANNOTATION_OPTIONS::loadEEschemaSettings( EESCHEMA_SETTINGS* } m_textNumberAfter->SetValue( wxString::Format( wxT( "%d" ), annotateStartNum ) ); - - annotate_down_right_bitmap->SetBitmap( KiBitmap( BITMAPS::annotate_down_right ) ); - annotate_right_down_bitmap->SetBitmap( KiBitmap( BITMAPS::annotate_right_down ) ); }