Changing the file categories selection status changes already selected items
Created originally on Bitbucket by dgou (Doug Philips)
To reproduce: Create a number of untracked files. Modify three files. hgtk commit Deselect one of the modified files. Go to the bottom of the page and deselect the unknown files box. Notice that your deselected modified file is now reselected.