From ff3c2bb66be668ef6edf9953005a956dc81834d0 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 2 Oct 2013 12:02:25 +0200 Subject: [PATCH] Worksheet is not selectable anymore. --- pcbnew/tools/selection_tool.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pcbnew/tools/selection_tool.cpp b/pcbnew/tools/selection_tool.cpp index 757a846712..e03a9e9a2f 100644 --- a/pcbnew/tools/selection_tool.cpp +++ b/pcbnew/tools/selection_tool.cpp @@ -471,10 +471,12 @@ bool SELECTION_TOOL::selectable( const BOARD_ITEM* aItem ) const return false; break; + // These are not selectable, otherwise silkscreen drawings would be easily destroyed case PCB_MODULE_EDGE_T: - // These are not selectable, otherwise silkscreen drawings would be easily destroyed + // and some other stuff that should be selected + case NOT_USED: + case TYPE_NOT_INIT: return false; - break; default: // Suppress warnings break;