Commit c8fc149a authored by Maciej Suminski's avatar Maciej Suminski

Fixed segfault occurring on rendering backend switch when pcbnew is run from the main KiCad dialog.

parent 416c4461
......@@ -599,6 +599,9 @@ void PCB_BASE_FRAME::UseGalCanvas( bool aEnable )
{
EDA_DRAW_FRAME::UseGalCanvas( aEnable );
m_toolManager->SetEnvironment( m_Pcb, m_galCanvas->GetView(),
m_galCanvas->GetViewControls(), this );
ViewReloadBoard( m_Pcb );
}
......
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