Fixed: Issue: #2761 Project tree selection is incorrect after opening a file by means other than sidebar

Fixed: Issue: #2761 Project tree selection is incorrect after opening a file by means other than sidebarb by adding a call to the show in Tree method to select the opened file