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:
parent
e71b215963
commit
f40dfa2765
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue