Refresh message panel when router mode changes

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16497
This commit is contained in:
Ian McInerney 2024-01-01 19:25:54 +00:00
parent 104aa1abe4
commit 9db1dd5ec5
1 changed files with 2 additions and 0 deletions

View File

@ -1519,6 +1519,7 @@ int ROUTER_TOOL::ChangeRouterMode( const TOOL_EVENT& aEvent )
PNS::ROUTING_SETTINGS& settings = m_router->Settings();
settings.SetMode( mode );
UpdateMessagePanel();
return 0;
}
@ -1537,6 +1538,7 @@ int ROUTER_TOOL::CycleRouterMode( const TOOL_EVENT& aEvent )
}
settings.SetMode( mode );
UpdateMessagePanel();
return 0;
}