Work around an event processing failure.

Fixes https://gitlab.com/kicad/code/kicad/issues/4273
This commit is contained in:
Jeff Young 2020-08-05 19:36:02 +01:00
parent 04e57a31eb
commit 73832a9708
1 changed files with 3 additions and 1 deletions

View File

@ -1572,7 +1572,9 @@ int ROUTER_TOOL::CustomTrackWidthDialog( const TOOL_EVENT& aEvent )
if( sizeDlg.ShowModal() )
{
bds.UseCustomTrackViaSize( true );
m_toolMgr->RunAction( PCB_ACTIONS::trackViaSizeChanged, true );
TOOL_EVENT dummy;
onTrackViaSizeChanged( dummy );
}
return 0;