Update width status when user choice changes
Fixes https://gitlab.com/kicad/code/kicad/-/issues/8265
This commit is contained in:
parent
3f165c70e1
commit
edc2be9018
|
@ -478,7 +478,7 @@ bool PNS_KICAD_IFACE_BASE::ImportSizes( PNS::SIZES_SETTINGS& aSizes, PNS::ITEM*
|
||||||
}
|
}
|
||||||
|
|
||||||
aSizes.SetTrackWidth( trackWidth );
|
aSizes.SetTrackWidth( trackWidth );
|
||||||
aSizes.SetTrackWidthIsExplicit( !found );
|
aSizes.SetTrackWidthIsExplicit( !bds.m_UseConnectedTrackWidth );
|
||||||
|
|
||||||
int viaDiameter = bds.m_ViasMinSize;
|
int viaDiameter = bds.m_ViasMinSize;
|
||||||
int viaDrill = bds.m_MinThroughDrill;
|
int viaDrill = bds.m_MinThroughDrill;
|
||||||
|
|
|
@ -1152,6 +1152,7 @@ void ROUTER_TOOL::performRouting()
|
||||||
}
|
}
|
||||||
controls()->SetAutoPan( true );
|
controls()->SetAutoPan( true );
|
||||||
setCursor();
|
setCursor();
|
||||||
|
updateMessagePanel();
|
||||||
}
|
}
|
||||||
else if( evt->IsAction( &ACT_EndTrack ) || evt->IsDblClick( BUT_LEFT ) )
|
else if( evt->IsAction( &ACT_EndTrack ) || evt->IsDblClick( BUT_LEFT ) )
|
||||||
{
|
{
|
||||||
|
@ -1870,6 +1871,8 @@ int ROUTER_TOOL::onTrackViaSizeChanged( const TOOL_EVENT& aEvent )
|
||||||
// move routine without changing the destination
|
// move routine without changing the destination
|
||||||
m_router->Move( m_endSnapPoint, m_endItem );
|
m_router->Move( m_endSnapPoint, m_endItem );
|
||||||
|
|
||||||
|
updateMessagePanel();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue