Don't allow selection of PCB_NETINFO_T
This is a version of master commit d9a94dc538
but that cannot be cherry-picked because it contains a number of
unrelated modifications
Fixes https://gitlab.com/kicad/code/kicad/issues/5729
This commit is contained in:
parent
5a6f291c72
commit
bf97378168
|
@ -1772,6 +1772,7 @@ bool SELECTION_TOOL::selectable( const BOARD_ITEM* aItem, bool checkVisibilityOn
|
||||||
// These are not selectable
|
// These are not selectable
|
||||||
case NOT_USED:
|
case NOT_USED:
|
||||||
case TYPE_NOT_INIT:
|
case TYPE_NOT_INIT:
|
||||||
|
case PCB_NETINFO_T:
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
default: // Suppress warnings
|
default: // Suppress warnings
|
||||||
|
|
Loading…
Reference in New Issue