Assigning a netclass has no meaning in fp editor.

Fixes https://gitlab.com/kicad/code/kicad/issues/13267
This commit is contained in:
Jeff Young 2022-12-26 19:32:56 +00:00
parent 80f3abe082
commit 1f3727f548
1 changed files with 2 additions and 1 deletions

View File

@ -228,7 +228,8 @@ bool EDIT_TOOL::Init()
menu.AddItem( PCB_ACTIONS::properties, propertiesCondition ); menu.AddItem( PCB_ACTIONS::properties, propertiesCondition );
menu.AddItem( PCB_ACTIONS::assignNetClass, SELECTION_CONDITIONS::OnlyTypes( connectedTypes ) ); menu.AddItem( PCB_ACTIONS::assignNetClass, SELECTION_CONDITIONS::OnlyTypes( connectedTypes )
&& !inFootprintEditor );
menu.AddItem( PCB_ACTIONS::inspectClearance, SELECTION_CONDITIONS::Count( 2 ) ); menu.AddItem( PCB_ACTIONS::inspectClearance, SELECTION_CONDITIONS::Count( 2 ) );
// Footprint actions // Footprint actions