Update message panel after switching layers.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16247
(cherry picked from commit a1b514bcba
)
This commit is contained in:
parent
4cb9edd9f0
commit
dbf5455656
|
@ -865,7 +865,10 @@ static PCB_LAYER_ID getTargetLayerFromEvent( const TOOL_EVENT& aEvent )
|
||||||
|
|
||||||
int ROUTER_TOOL::onLayerCommand( const TOOL_EVENT& aEvent )
|
int ROUTER_TOOL::onLayerCommand( const TOOL_EVENT& aEvent )
|
||||||
{
|
{
|
||||||
return handleLayerSwitch( aEvent, false );
|
handleLayerSwitch( aEvent, false );
|
||||||
|
UpdateMessagePanel();
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -883,6 +886,7 @@ int ROUTER_TOOL::onViaCommand( const TOOL_EVENT& aEvent )
|
||||||
m_router->Move( m_endSnapPoint, m_endItem );
|
m_router->Move( m_endSnapPoint, m_endItem );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UpdateMessagePanel();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue