selection: start the found count afresh for every command

The count was keyed on the gathering command's address, so a command
boxed where the previous one was (MOVE right after MOVE) inherited its
selection and reported its first pick as a duplicate. Drop the report
whenever no command is running.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-14 23:59:24 +03:00
1 parent b5fb42e9f8
commit 06d0ddc393
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -574,7 +574,7 @@ impl OpenCADStudio {
StepInput::SelectionComplete(kept)
}
/// What one selection step picked, as the reference words it: `N found`
/// What one selection step picked, as the reference words it: `N found`
/// for the first step, `N found, M total`, `N found (D duplicate), M
/// total` when some were chosen already, `N found, R removed, M total` in
/// remove mode. Returns the command's key while it gathers.