Update message panel after switching layers.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16247
This commit is contained in:
Jeff Young
2023-12-03 17:07:08 +00:00
parent ff9d834e31
commit a1b514bcba
+5 -1
View File
@@ -821,7 +821,10 @@ static VIATYPE getViaTypeFromFlags( int aFlags )
int ROUTER_TOOL::onLayerCommand( const TOOL_EVENT& aEvent )
{
return handleLayerSwitch( aEvent, false );
handleLayerSwitch( aEvent, false );
UpdateMessagePanel();
return 0;
}
@@ -839,6 +842,7 @@ int ROUTER_TOOL::onViaCommand( const TOOL_EVENT& aEvent )
m_router->Move( m_endSnapPoint, m_endItem );
}
UpdateMessagePanel();
return 0;
}