Previous check didn't account for router dragging.
This commit is contained in:
parent
2ca819a627
commit
b31470012a
|
@ -1637,7 +1637,7 @@ int ROUTER_TOOL::onTrackViaSizeChanged( const TOOL_EVENT& aEvent )
|
|||
{
|
||||
PNS::SIZES_SETTINGS sizes( m_router->Sizes() );
|
||||
|
||||
if( m_router->RoutingInProgress() )
|
||||
if( !m_router->GetCurrentNets().empty() )
|
||||
m_iface->ImportSizes( sizes, nullptr, m_router->GetCurrentNets()[0] );
|
||||
|
||||
m_router->UpdateSizes( sizes );
|
||||
|
|
Loading…
Reference in New Issue