Assigning a netclass has no meaning in fp editor.
Fixes https://gitlab.com/kicad/code/kicad/issues/13267
This commit is contained in:
parent
80f3abe082
commit
1f3727f548
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue