Do not invoke PNS inline dragging when 'Duplicate' is run.

This commit is contained in:
Maciej Suminski 2015-07-24 09:42:45 +02:00
parent f7fa0852b5
commit 982eee7905
2 changed files with 6 additions and 3 deletions

View File

@ -113,6 +113,9 @@ bool EDIT_TOOL::invokeInlineRouter()
TRACK* track = uniqueSelected<TRACK>();
VIA* via = uniqueSelected<VIA>();
if( isUndoInhibited() )
return false;
if( track || via )
{
ROUTER_TOOL* theRouter = static_cast<ROUTER_TOOL*>( m_toolMgr->FindTool( "pcbnew.InteractiveRouter" ) );