Work around an event processing failure.
Fixes https://gitlab.com/kicad/code/kicad/issues/4273
This commit is contained in:
parent
04e57a31eb
commit
73832a9708
|
@ -1572,7 +1572,9 @@ int ROUTER_TOOL::CustomTrackWidthDialog( const TOOL_EVENT& aEvent )
|
||||||
if( sizeDlg.ShowModal() )
|
if( sizeDlg.ShowModal() )
|
||||||
{
|
{
|
||||||
bds.UseCustomTrackViaSize( true );
|
bds.UseCustomTrackViaSize( true );
|
||||||
m_toolMgr->RunAction( PCB_ACTIONS::trackViaSizeChanged, true );
|
|
||||||
|
TOOL_EVENT dummy;
|
||||||
|
onTrackViaSizeChanged( dummy );
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue