pcbnew: Don't reset router settings when breaking a track

Calling Init() in an action routine will reset the router
settings to the state they were in when first starting pcbnew.
The Init() function is automatically called when the tool is created.

Fixes: lp:1843810
* https://bugs.launchpad.net/kicad/+bug/1843810
This commit is contained in:
Ian McInerney 2019-10-03 23:43:13 +02:00 committed by Wayne Stambaugh
parent e618e34c94
commit 3442cc3d1a
1 changed files with 0 additions and 1 deletions

View File

@ -1236,7 +1236,6 @@ int ROUTER_TOOL::InlineBreakTrack( const TOOL_EVENT& aEvent )
if( item->Type() != PCB_TRACE_T )
return 0;
Init();
Activate();
m_toolMgr->RunAction( PCB_ACTIONS::selectionClear, true );