Commit 9dd6b6a8 authored by Maciej Suminski's avatar Maciej Suminski

Fixed recaching after changing display properties.

parent c9199ea8
...@@ -175,7 +175,7 @@ void DIALOG_DISPLAY_OPTIONS::OnOkClick(wxCommandEvent& event) ...@@ -175,7 +175,7 @@ void DIALOG_DISPLAY_OPTIONS::OnOkClick(wxCommandEvent& event)
KiGfx::PCB_RENDER_SETTINGS* settings = KiGfx::PCB_RENDER_SETTINGS* settings =
static_cast<KiGfx::PCB_RENDER_SETTINGS*>( painter->GetSettings() ); static_cast<KiGfx::PCB_RENDER_SETTINGS*>( painter->GetSettings() );
settings->LoadDisplayOptions( DisplayOpt ); settings->LoadDisplayOptions( DisplayOpt );
view->RecacheAllItems(); view->RecacheAllItems( true );
if( m_Parent->IsGalCanvasActive() ) if( m_Parent->IsGalCanvasActive() )
m_Parent->GetGalCanvas()->Refresh(); m_Parent->GetGalCanvas()->Refresh();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment