Pcbnew: allow multiple selection of footprint text

With the selection filter and other improvements, we no longer
need to use this workaround to prevent accidental selections.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/7527
This commit is contained in:
Jon Evans 2021-02-16 22:40:23 -05:00
parent 34c2bbfe51
commit ba6aa3e034
1 changed files with 0 additions and 7 deletions

View File

@ -2022,13 +2022,6 @@ bool PCB_SELECTION_TOOL::Selectable( const BOARD_ITEM* aItem, bool checkVisibili
}
else
{
// Multiple selection is only allowed in footprint editor mode. In pcbnew, you have
// to select footprint subparts one by one, rather than with a drag selection. This
// is so you can pick up items under an (unlocked) footprint without also moving the
// footprint's sub-parts.
if( !checkVisibilityOnly && m_multiple && !settings->GetHighContrast() )
return false;
if( !view()->IsVisible( aItem ) )
return false;