Fixed #2030: Allow reopening file in editor after it's been closed through tabs.
Merge pull request #2316 from dinhviethoa/2030-reselect-file-in-files-view

Allow reopening file in editor after it's been closed through tabs.