Allow selecting locked pads at all times
Locked pads are a bit different from other locked items and there are sufficient reasons to need to select them that it makes sense to introduce this inconsistency. Fixes https://gitlab.com/kicad/code/kicad/-/issues/6837
This commit is contained in:
parent
38b8bc89ac
commit
a9ff98bccc
|
@ -1557,7 +1557,7 @@ void PCB_SELECTION_TOOL::FilterCollectedItems( GENERAL_COLLECTOR& aCollector )
|
|||
|
||||
bool PCB_SELECTION_TOOL::itemPassesFilter( BOARD_ITEM* aItem )
|
||||
{
|
||||
if( aItem->IsLocked() && !m_filter.lockedItems )
|
||||
if( aItem->IsLocked() && !m_filter.lockedItems && aItem->Type() != PCB_PAD_T )
|
||||
return false;
|
||||
|
||||
switch( aItem->Type() )
|
||||
|
|
Loading…
Reference in New Issue