Fixed cancelling inline track dragging.
This commit is contained in:
parent
5ddc9b378b
commit
a7613b6d6a
|
@ -786,6 +786,9 @@ int ROUTER_TOOL::InlineDrag( const TOOL_EVENT& aEvent )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( m_router->RoutingInProgress() )
|
||||||
|
m_router->StopRouting();
|
||||||
|
|
||||||
if( saveUndoBuffer )
|
if( saveUndoBuffer )
|
||||||
{
|
{
|
||||||
frame->SaveCopyInUndoList( m_router->GetUndoBuffer(), UR_UNSPECIFIED );
|
frame->SaveCopyInUndoList( m_router->GetUndoBuffer(), UR_UNSPECIFIED );
|
||||||
|
|
Loading…
Reference in New Issue