Don't be pedantic about selection contents when exposing commands.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/21112
This commit is contained in:
Jeff Young 2025-06-23 16:00:01 -06:00
parent 541ca43d9e
commit 100260ed59

View File

@ -331,7 +331,7 @@ bool EDIT_TOOL::Init()
SELECTION_CONDITION isRoutable =
SELECTION_CONDITIONS::NotEmpty
&& SELECTION_CONDITIONS::OnlyTypes( routableTypes )
&& SELECTION_CONDITIONS::HasTypes( routableTypes )
&& notMovingCondition
&& !inFootprintEditor;