PNS router deselects all items when started.

This commit is contained in:
Maciej Suminski 2014-05-14 19:15:25 +02:00
parent f04997797b
commit 7a526261fb
1 changed files with 3 additions and 0 deletions

View File

@ -633,6 +633,9 @@ int ROUTER_TOOL::Main( TOOL_EVENT& aEvent )
BOARD* board = getModel<BOARD>( PCB_T );
BOARD_DESIGN_SETTINGS& bds = board->GetDesignSettings();
// Deselect all items
m_toolMgr->RunAction( COMMON_ACTIONS::selectionClear );
getEditFrame<PCB_EDIT_FRAME>()->SetToolID( ID_TRACK_BUTT, wxCURSOR_PENCIL, _( "Interactive Router" ) );
ctls->SetSnapping( true );