Ratsnest is updated after backend switch.

This commit is contained in:
Maciej Suminski 2014-01-31 13:14:18 +01:00
parent 3827f495ca
commit 7f4648149b
1 changed files with 3 additions and 0 deletions

View File

@ -742,6 +742,9 @@ void PCB_EDIT_FRAME::UseGalCanvas( bool aEnable )
if( aEnable )
{
// Update potential changes in the ratsnest
m_Pcb->GetRatsnest()->Recalculate();
m_toolManager->SetEnvironment( m_Pcb, GetGalCanvas()->GetView(),
GetGalCanvas()->GetViewControls(), this );
m_toolManager->ResetTools( TOOL_BASE::GAL_SWITCH );