pcbnew: Prevent double items recaching on start

Thanks to Seth Hillbrand for pointing out the issue.

Fixes: lp:1779002
* https://bugs.launchpad.net/kicad/+bug/1779002
This commit is contained in:
Maciej Suminski 2018-06-29 08:50:17 +02:00
parent 33075e55a4
commit b43b78bdd2
1 changed files with 0 additions and 2 deletions

View File

@ -374,8 +374,6 @@ void PCB_DRAW_PANEL_GAL::OnShow()
static_cast<KIGFX::PCB_RENDER_SETTINGS*>( static_cast<KIGFX::PCB_RENDER_SETTINGS*>(
m_view->GetPainter()->GetSettings() )->LoadDisplayOptions( displ_opts ); m_view->GetPainter()->GetSettings() )->LoadDisplayOptions( displ_opts );
} }
m_view->RecacheAllItems();
} }