Update message panel after switching layers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16247
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user