Update junction-dot-size-cache when Schematic Setup changes.

Fixes https://gitlab.com/kicad/code/kicad/issues/9541
This commit is contained in:
Jeff Young 2021-11-07 13:48:51 +00:00
parent dbad85d405
commit f9a282278c
1 changed files with 2 additions and 0 deletions

View File

@ -1426,7 +1426,9 @@ void SCH_EDIT_FRAME::ShowAllIntersheetRefs( bool aShow )
void SCH_EDIT_FRAME::CommonSettingsChanged( bool aEnvVarsChanged, bool aTextVarsChanged ) void SCH_EDIT_FRAME::CommonSettingsChanged( bool aEnvVarsChanged, bool aTextVarsChanged )
{ {
SCHEMATIC_SETTINGS& settings = Schematic().Settings(); SCHEMATIC_SETTINGS& settings = Schematic().Settings();
SCH_BASE_FRAME::CommonSettingsChanged( aEnvVarsChanged, aTextVarsChanged ); SCH_BASE_FRAME::CommonSettingsChanged( aEnvVarsChanged, aTextVarsChanged );
settings.m_JunctionSize = GetSchematicJunctionSize();
ShowAllIntersheetRefs( settings.m_IntersheetRefsShow ); ShowAllIntersheetRefs( settings.m_IntersheetRefsShow );