Update GAL observers for all frames, not just calling frame.

Also don't rely on UpdateScaleFactor to do it as it only does it
if the scale factor changed.

Fixes https://gitlab.com/kicad/code/kicad/issues/5621
This commit is contained in:
Jeff Young 2020-10-09 19:23:38 +01:00
parent 411914dffb
commit 2574a8d71e
2 changed files with 2 additions and 4 deletions

View File

@ -100,9 +100,9 @@ void GAL_DISPLAY_OPTIONS::ReadCommonConfig( COMMON_SETTINGS& aSettings, wxWindow
aSettings.m_Graphics.cairo_aa_mode );
m_dpi = DPI_SCALING( &aSettings, aWindow );
// Also calls NotifyChanged
UpdateScaleFactor();
NotifyChanged();
}

View File

@ -222,7 +222,5 @@ bool GAL_OPTIONS_PANEL::TransferDataFromWindow()
m_galOptions.m_forceDisplayCursor = m_forceCursorDisplay->GetValue();
m_galOptions.NotifyChanged();
return true;
}