Modify interactive delete tool to respect groups & selection filter.

This commit is contained in:
Jeff Young 2023-10-10 16:04:54 +01:00
parent 8c017be24a
commit d8f35633d4
1 changed files with 3 additions and 0 deletions

View File

@ -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 );