John Beard 105b9fcfe8 Pcbnew: fix occasional failure-to-select for dragging
In the Drag tool client filter function, sometimes,
GuessSelectionCandidates trims the collector's item list.
But we used the old contents of the per-type vectors to make
judgements about what was connected.

If a call came in with 2 tracks (e.g. near a knee) and one
was removed by GuessSelectionCandidates, sometimes the
other one would be the one selected for removal in the
2 tracks/0 via case. This leaves the collector empty.

The other case, where the item removed by GuessSelectionCandidates
was removed from the collector is silent, as removing an item
not in the collector is a no-op.

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/21517
2025-08-20 20:34:08 +08:00
..
2025-08-07 15:48:10 -07:00
2025-08-20 01:41:18 +08:00
2025-03-15 13:05:45 -07:00
2025-08-03 12:51:34 +01:00
2025-08-03 20:32:19 +01:00
2025-06-05 18:01:44 +01:00
2025-07-27 17:23:53 -07:00
2025-07-30 17:04:06 -07:00
2025-08-19 13:42:49 +01:00
2025-03-24 10:28:41 +00:00
2025-08-07 15:48:10 -07:00
2025-06-19 18:26:39 +02:00
2025-06-19 18:26:39 +02:00
2025-05-31 22:14:09 +01:00
2025-08-06 16:06:40 -07:00
2025-03-24 10:28:41 +00:00
2025-08-05 13:49:31 +01:00
2025-08-06 16:06:40 -07:00
2025-08-06 16:06:40 -07:00
2025-08-06 16:06:40 -07:00
2025-08-06 16:06:40 -07:00
2025-08-06 16:06:40 -07:00
2025-08-06 16:06:40 -07:00
2025-08-06 16:06:40 -07:00
2025-08-07 15:48:10 -07:00
2025-08-07 15:48:10 -07:00
2025-06-24 11:52:29 -06:00
2025-07-27 17:23:53 -07:00
2025-08-13 14:35:54 +02:00
2025-06-24 11:52:29 -06:00
2025-08-07 15:48:10 -07:00
2025-08-06 16:06:40 -07:00
2025-08-06 16:07:43 -07:00