Merge lp:~rohbotics/kicad/bug_1424003 into lp:kicad

This commit is contained in:
Rohan Agrawal 2016-02-12 17:43:23 +01:00 committed by Maciej Suminski
commit 8785df0d80
1 changed files with 4 additions and 2 deletions

View File

@ -602,8 +602,10 @@ void ROUTER_TOOL::performRouting()
} }
else if( evt->IsAction( &ACT_EndTrack ) ) else if( evt->IsAction( &ACT_EndTrack ) )
{ {
if( m_router->FixRoute( m_endSnapPoint, m_endItem ) ) bool still_routing = true;
break; while( still_routing )
still_routing = m_router->FixRoute( m_endSnapPoint, m_endItem );
break;
} }
handleCommonEvents( *evt ); handleCommonEvents( *evt );