From e3369608fd9bd963b113eed5434c923066757e52 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 7 Dec 2023 13:15:11 +0000 Subject: [PATCH] Add missing case to Selectable(). Fixes https://gitlab.com/kicad/code/kicad/-/issues/16283 (cherry picked from commit aa046345eb66fe904b0976b6cd261dc63583a087) --- pcbnew/tools/pcb_selection_tool.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/tools/pcb_selection_tool.cpp b/pcbnew/tools/pcb_selection_tool.cpp index 11e8ab2465..1c93def806 100644 --- a/pcbnew/tools/pcb_selection_tool.cpp +++ b/pcbnew/tools/pcb_selection_tool.cpp @@ -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() ) )