mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Don't be pedantic about selection contents when exposing commands.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/21112
This commit is contained in:
parent
541ca43d9e
commit
100260ed59
@ -331,7 +331,7 @@ bool EDIT_TOOL::Init()
|
||||
|
||||
SELECTION_CONDITION isRoutable =
|
||||
SELECTION_CONDITIONS::NotEmpty
|
||||
&& SELECTION_CONDITIONS::OnlyTypes( routableTypes )
|
||||
&& SELECTION_CONDITIONS::HasTypes( routableTypes )
|
||||
&& notMovingCondition
|
||||
&& !inFootprintEditor;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user