Worksheet is not selectable anymore.

This commit is contained in:
Maciej Suminski 2013-10-02 12:02:25 +02:00
parent 460dcfc621
commit ff3c2bb66b
1 changed files with 4 additions and 2 deletions

View File

@ -471,10 +471,12 @@ bool SELECTION_TOOL::selectable( const BOARD_ITEM* aItem ) const
return false; return false;
break; break;
// These are not selectable, otherwise silkscreen drawings would be easily destroyed
case PCB_MODULE_EDGE_T: 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; return false;
break;
default: // Suppress warnings default: // Suppress warnings
break; break;