Eeschema: propagate alt mode icons to render settings on prefs change

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/21462
This commit is contained in:
John Beard 2025-08-11 20:57:56 +08:00
parent aa4bba3c94
commit ea8d0519bd

View File

@ -1803,6 +1803,8 @@ void SCH_EDIT_FRAME::CommonSettingsChanged( int aFlags )
view->SetLayerVisible( LAYER_OP_VOLTAGES, cfg->m_Appearance.show_op_voltages ); view->SetLayerVisible( LAYER_OP_VOLTAGES, cfg->m_Appearance.show_op_voltages );
view->SetLayerVisible( LAYER_OP_CURRENTS, cfg->m_Appearance.show_op_currents ); view->SetLayerVisible( LAYER_OP_CURRENTS, cfg->m_Appearance.show_op_currents );
GetRenderSettings()->m_ShowPinAltIcons = cfg->m_Appearance.show_pin_alt_icons;
RefreshOperatingPointDisplay(); RefreshOperatingPointDisplay();
settings.m_TemplateFieldNames.DeleteAllFieldNameTemplates( true /* global */ ); settings.m_TemplateFieldNames.DeleteAllFieldNameTemplates( true /* global */ );