mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
Don't add CONSTRUCTION_GEOM to the selection.
We'll crash later after it gets freed. Fixes https://gitlab.com/kicad/code/kicad/-/issues/20211
This commit is contained in:
parent
b0e2e9e35e
commit
d9c952d90c
@ -2709,6 +2709,9 @@ bool EE_SELECTION_TOOL::Selectable( const EDA_ITEM* aItem, const VECTOR2I* aPos,
|
||||
break;
|
||||
}
|
||||
|
||||
case NOT_USED: // Things like CONSTRUCTION_GEOM that aren't part of the model
|
||||
return false;
|
||||
|
||||
default: // Suppress warnings
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user