Consistent track removal for PNS and selection tool

Fixes: lp:1705676
* https://bugs.launchpad.net/kicad/+bug/1705676
This commit is contained in:
Maciej Suminski 2017-07-27 16:19:35 +02:00
parent 950d87a920
commit 7b88dac4b7
1 changed files with 2 additions and 2 deletions

View File

@ -878,11 +878,11 @@ int ROUTER_TOOL::mainLoop( PNS::ROUTER_MODE aMode )
}
else if( evt->IsAction( &PCB_ACTIONS::remove ) )
{
deleteTraces( m_startItem, true );
deleteTraces( m_startItem, false );
}
else if( evt->IsAction( &PCB_ACTIONS::removeAlt ) )
{
deleteTraces( m_startItem, false );
deleteTraces( m_startItem, true );
}
}