From 7f4648149bb04c68dfa3e34e63dd644cc01ee327 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Fri, 31 Jan 2014 13:14:18 +0100 Subject: [PATCH] Ratsnest is updated after backend switch. --- pcbnew/pcbframe.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pcbnew/pcbframe.cpp b/pcbnew/pcbframe.cpp index 72930927ca..15822a9b17 100644 --- a/pcbnew/pcbframe.cpp +++ b/pcbnew/pcbframe.cpp @@ -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 );