Repair missing checkVisibilityOnly test.
Fixes https://gitlab.com/kicad/code/kicad/issues/5516
This commit is contained in:
parent
adfcdc89af
commit
1be1205734
|
@ -1874,7 +1874,7 @@ bool SELECTION_TOOL::Selectable( const BOARD_ITEM* aItem, bool checkVisibilityOn
|
|||
|
||||
case PCB_MODULE_EDGE_T:
|
||||
// Module edge selections are only allowed in modedit mode.
|
||||
if( !m_editModules )
|
||||
if( !m_editModules && !checkVisibilityOnly )
|
||||
return false;
|
||||
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue