Refresh for colour changes.

Fixes https://gitlab.com/kicad/code/kicad/issues/4983
This commit is contained in:
Jeff Young 2020-08-05 22:50:58 +01:00
parent dd0f33bcbb
commit 3522fd0535
1 changed files with 2 additions and 2 deletions

View File

@ -1037,8 +1037,8 @@ void SCH_EDIT_FRAME::CommonSettingsChanged( bool aEnvVarsChanged, bool aTextVars
{
SCH_BASE_FRAME::CommonSettingsChanged( aEnvVarsChanged, aTextVarsChanged );
if( aTextVarsChanged )
GetCanvas()->GetView()->UpdateAllItems( KIGFX::ALL );
GetCanvas()->GetView()->UpdateAllItems( KIGFX::ALL );
GetCanvas()->Refresh();
RecreateToolbars();
Layout();