From 41a3516f18e4e4ece40114ced78b16baa6639b6f Mon Sep 17 00:00:00 2001 From: John Beard Date: Thu, 7 Aug 2025 00:48:41 +0800 Subject: [PATCH] Eeschema: fix alt pin icon/OP current preference resetting Fixes: https://gitlab.com/kicad/code/kicad/-/issues/21440 (cherry picked from commit 80232278299997fe49c1eab4dd5673234671485c) --- eeschema/dialogs/panel_eeschema_display_options.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/eeschema/dialogs/panel_eeschema_display_options.cpp b/eeschema/dialogs/panel_eeschema_display_options.cpp index 3a7592e4ef..34d214017b 100644 --- a/eeschema/dialogs/panel_eeschema_display_options.cpp +++ b/eeschema/dialogs/panel_eeschema_display_options.cpp @@ -60,7 +60,8 @@ void PANEL_EESCHEMA_DISPLAY_OPTIONS::loadEEschemaSettings( EESCHEMA_SETTINGS* cf m_checkShowERCExclusions->SetValue( cfg->m_Appearance.show_erc_exclusions ); m_cbMarkSimExclusions->SetValue( cfg->m_Appearance.mark_sim_exclusions ); m_checkShowOPVoltages->SetValue( cfg->m_Appearance.show_op_voltages ); - m_checkShowPinAltModeIcons->SetValue( cfg->m_Appearance.show_op_currents ); + m_checkShowOPCurrents->SetValue( cfg->m_Appearance.show_op_currents ); + m_checkShowPinAltModeIcons->SetValue( cfg->m_Appearance.show_pin_alt_icons ); m_checkPageLimits->SetValue( cfg->m_Appearance.show_page_limits ); m_checkSelDrawChildItems->SetValue( cfg->m_Selection.draw_selected_children ); @@ -140,5 +141,3 @@ void PANEL_EESCHEMA_DISPLAY_OPTIONS::ResetPanel() m_galOptsPanel->ResetPanel( &cfg ); } - -