Eeschema: fix alt pin icon/OP current preference resetting

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/21440
(cherry picked from commit 80232278299997fe49c1eab4dd5673234671485c)
This commit is contained in:
John Beard 2025-08-07 00:48:41 +08:00
parent ac270d16eb
commit 41a3516f18

View File

@ -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 );
}