diff --git a/pcbnew/router/router_tool.cpp b/pcbnew/router/router_tool.cpp index 413e1ac12d..8ef4941e04 100644 --- a/pcbnew/router/router_tool.cpp +++ b/pcbnew/router/router_tool.cpp @@ -1838,10 +1838,10 @@ int ROUTER_TOOL::InlineDrag( const TOOL_EVENT& aEvent ) item->SetLocked( false ); } + m_toolMgr->RunAction( PCB_ACTIONS::selectionClear, true ); + Activate(); - m_toolMgr->RunAction( PCB_ACTIONS::selectionClear, true ); - m_router->SyncWorld(); m_startItem = nullptr; PNS::ITEM* startItem = nullptr; @@ -2120,10 +2120,10 @@ int ROUTER_TOOL::InlineBreakTrack( const TOOL_EVENT& aEvent ) if( item->Type() != PCB_TRACE_T ) return 0; + m_toolMgr->RunAction( PCB_ACTIONS::selectionClear, true ); + Activate(); - m_toolMgr->RunAction( PCB_ACTIONS::selectionClear, true ); - m_router->SyncWorld(); m_startItem = m_router->GetWorld()->FindItemByParent( item ); TOOL_MANAGER* toolManager = frame()->GetToolManager();