Selected file in file list should always correspond to current file

chaiguy fa 9 anys actualitzat fa 9 anys 0
For example, when the current tab is changed, the selected file in the file list should change to highlight that file if visible, or deselect if not. Having the file selected implies it is the current file and can be confusing.