eeschema: Refresh canvas when the options change

Windows doesn't appear to properly re-paint after an options change.
This forces the repaint when setting options

Fixes: lp:1816506
* https://bugs.launchpad.net/kicad/+bug/1816506
This commit is contained in:
Seth Hillbrand 2019-02-19 18:17:14 -08:00
parent e71b215963
commit f40dfa2765
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ bool PANEL_EESCHEMA_DISPLAY_OPTIONS::TransferDataFromWindow()
m_frame->GetRenderSettings()->m_ShowHiddenPins = m_checkShowHiddenPins->GetValue();
m_frame->GetRenderSettings()->SetShowPageLimits( m_checkPageLimits->GetValue() );
m_frame->GetCanvas()->GetView()->MarkDirty();
m_frame->GetCanvas()->GetView()->UpdateAllItems( KIGFX::REPAINT );
m_frame->GetCanvas()->Refresh();
m_galOptsPanel->TransferDataFromWindow();