Browse Source
It belongs out in the calling loop so that if someone else uses finishTool() later they won't get bit by it. This also fixes a crash bug where we weren't deactivating all tools because we couldn't back up at the beginning of the stack (and the loop increment therefore went past the first element). Fixes https://gitlab.com/kicad/code/kicad/issues/4206pull/16/head
1 changed files with 5 additions and 6 deletions
Loading…
Reference in new issue