Modify interactive delete tool to respect groups & selection filter.
This commit is contained in:
parent
8c017be24a
commit
d8f35633d4
|
@ -659,6 +659,9 @@ int PCB_CONTROL::InteractiveDelete( const TOOL_EVENT& aEvent )
|
|||
collector.Remove( i );
|
||||
}
|
||||
|
||||
selectionTool->FilterCollectorForHierarchy( collector, false );
|
||||
selectionTool->FilterCollectedItems( collector, false );
|
||||
|
||||
if( collector.GetCount() > 1 )
|
||||
selectionTool->GuessSelectionCandidates( collector, aPos );
|
||||
|
||||
|
|
Loading…
Reference in New Issue