Do not invoke PNS inline dragging when 'Duplicate' is run.
This commit is contained in:
parent
f7fa0852b5
commit
982eee7905
|
@ -113,6 +113,9 @@ bool EDIT_TOOL::invokeInlineRouter()
|
||||||
TRACK* track = uniqueSelected<TRACK>();
|
TRACK* track = uniqueSelected<TRACK>();
|
||||||
VIA* via = uniqueSelected<VIA>();
|
VIA* via = uniqueSelected<VIA>();
|
||||||
|
|
||||||
|
if( isUndoInhibited() )
|
||||||
|
return false;
|
||||||
|
|
||||||
if( track || via )
|
if( track || via )
|
||||||
{
|
{
|
||||||
ROUTER_TOOL* theRouter = static_cast<ROUTER_TOOL*>( m_toolMgr->FindTool( "pcbnew.InteractiveRouter" ) );
|
ROUTER_TOOL* theRouter = static_cast<ROUTER_TOOL*>( m_toolMgr->FindTool( "pcbnew.InteractiveRouter" ) );
|
||||||
|
|
Loading…
Reference in New Issue