[PATCH] Renaming a file can make it to loose selection, instead next or previous row is selected
Submitted by Nelson Benítez León
When you rename a file in a "sort by name" filechooser, if you alter the start of the name the file will be resort-ed to another position, and selection will not follow it, instead selection will stay in the same row, which now is occupied by another file (the next or previous file of the one we renamed).
Filechooser should make sure the renamed file keeps being selected.
I will attach a patch to fix this issue.