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:
parent
e618e34c94
commit
3442cc3d1a
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue