Fixed recaching after changing display properties.

This commit is contained in:
Maciej Suminski 2013-07-26 10:05:57 +02:00
parent c9199ea80a
commit 9dd6b6a8ee
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ void DIALOG_DISPLAY_OPTIONS::OnOkClick(wxCommandEvent& event)
KiGfx::PCB_RENDER_SETTINGS* settings =
static_cast<KiGfx::PCB_RENDER_SETTINGS*>( painter->GetSettings() );
settings->LoadDisplayOptions( DisplayOpt );
view->RecacheAllItems();
view->RecacheAllItems( true );
if( m_Parent->IsGalCanvasActive() )
m_Parent->GetGalCanvas()->Refresh();