7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 19:29:17 +00:00

Add Route Selected to the context menu

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19571
This commit is contained in:
Ian McInerney 2025-02-09 23:00:26 +00:00
parent a15becf032
commit 97b725fb42

View File

@ -356,6 +356,8 @@ bool EDIT_TOOL::Init()
// clang-format off
menu.AddItem( PCB_ACTIONS::move, SELECTION_CONDITIONS::NotEmpty
&& notMovingCondition );
menu.AddItem( PCB_ACTIONS::routerRouteSelected, isRoutable );
menu.AddItem( PCB_ACTIONS::unrouteSelected, isRoutable );
menu.AddItem( PCB_ACTIONS::routerAutorouteSelected, isRoutable );
menu.AddItem( PCB_ACTIONS::moveIndividually, SELECTION_CONDITIONS::MoreThan( 1 )