diff --git a/pcbnew/router/router_tool.cpp b/pcbnew/router/router_tool.cpp index c62fea076f..950ef65b1e 100644 --- a/pcbnew/router/router_tool.cpp +++ b/pcbnew/router/router_tool.cpp @@ -994,7 +994,7 @@ bool ROUTER_TOOL::prepareInteractive() editFrame->SetActiveLayer( ToLAYER_ID( routingLayer ) ); - if( m_startItem && m_startItem->Net() >= 0 ) + if( m_startItem && m_startItem->Net() > 0 ) highlightNet( true, m_startItem->Net() ); controls()->ForceCursorPosition( false ); @@ -1389,7 +1389,7 @@ void ROUTER_TOOL::performDragging( int aMode ) if( !dragStarted ) return; - if( m_startItem && m_startItem->Net() >= 0 ) + if( m_startItem && m_startItem->Net() > 0 ) highlightNet( true, m_startItem->Net() ); ctls->SetAutoPan( true );