Fixed segfault occurring on rendering backend switch when pcbnew is run from the main KiCad dialog.
This commit is contained in:
parent
416c44615a
commit
c8fc149ae5
|
@ -599,6 +599,9 @@ void PCB_BASE_FRAME::UseGalCanvas( bool aEnable )
|
||||||
{
|
{
|
||||||
EDA_DRAW_FRAME::UseGalCanvas( aEnable );
|
EDA_DRAW_FRAME::UseGalCanvas( aEnable );
|
||||||
|
|
||||||
|
m_toolManager->SetEnvironment( m_Pcb, m_galCanvas->GetView(),
|
||||||
|
m_galCanvas->GetViewControls(), this );
|
||||||
|
|
||||||
ViewReloadBoard( m_Pcb );
|
ViewReloadBoard( m_Pcb );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue