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:
parent
33075e55a4
commit
b43b78bdd2
|
@ -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();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue