Using ProjectManager.showInTree()
First deselect all nodes before reselecting
Added the selection changed parameter
Merge remote-tracking branch 'upstream/master' into Issue-2761
Merge remote-tracking branch 'upstream/master' into Issue-2761
Final fix implemented
Merge pull request #2869 from WebsiteDeveloper/Issue-2761

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