fp editor: remove useless "Unroute Selected" from context menu.

Fixes #13229
https://gitlab.com/kicad/code/kicad/issues/13229
This commit is contained in:
jean-pierre charras 2022-12-21 13:11:51 +01:00
parent 5b1287b200
commit 44ab6876d9
1 changed files with 2 additions and 1 deletions

View File

@ -201,7 +201,8 @@ bool EDIT_TOOL::Init()
&& notMovingCondition );
menu.AddItem( PCB_ACTIONS::unrouteSelected, SELECTION_CONDITIONS::NotEmpty
&& SELECTION_CONDITIONS::OnlyTypes( unroutableTypes )
&& notMovingCondition );
&& notMovingCondition
&& !inFootprintEditor );
menu.AddItem( PCB_ACTIONS::moveIndividually, SELECTION_CONDITIONS::MoreThan( 1 )
&& notMovingCondition );
menu.AddItem( PCB_ACTIONS::skip, isSkippable );