Fixed cancelling inline track dragging.

This commit is contained in:
Tomasz Wlostowski 2015-07-10 12:14:27 +02:00 committed by Maciej Suminski
parent 5ddc9b378b
commit a7613b6d6a
1 changed files with 3 additions and 0 deletions

View File

@ -786,6 +786,9 @@ int ROUTER_TOOL::InlineDrag( const TOOL_EVENT& aEvent )
}
}
if( m_router->RoutingInProgress() )
m_router->StopRouting();
if( saveUndoBuffer )
{
frame->SaveCopyInUndoList( m_router->GetUndoBuffer(), UR_UNSPECIFIED );