Add missing case to Selectable().

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16283

(cherry picked from commit aa046345eb)
This commit is contained in:
Jeff Young 2023-12-07 13:15:11 +00:00
parent 1c6390f829
commit e3369608fd
1 changed files with 1 additions and 0 deletions

View File

@ -2580,6 +2580,7 @@ bool PCB_SELECTION_TOOL::Selectable( const BOARD_ITEM* aItem, bool checkVisibili
case PCB_FP_SHAPE_T:
case PCB_FP_TEXTBOX_T:
case PCB_REFERENCE_IMAGE_T:
if( m_isFootprintEditor )
{
if( !view()->IsLayerVisible( aItem->GetLayer() ) )