Updating current selection in PathListWidget.setSelectedPaths().
Updating current selection in PathListWidget.setSelectedPaths().

The QTreeView supports a set of selected (highlighted) items, and also a "current" item, which is not necessarily selected but is the focus of keyboard operations and the like. The call to selectionModel.clear() clears both of these, so it's good to place the "current" item back at the top of the selection so that keyboard operations start where the user would expect.

appleseedhq/gaffer,andrewkaufman/gaffer,chippey/gaffer,chippey/gaffer,hradec/gaffer,hradec/gaffer,boberfly/gaffer,appleseedhq/gaffer,boberfly/gaffer,johnhaddon/gaffer,goddardl/gaffer,goddardl/gaffer,johnhaddon/gaffer,hradec/gaffer,lucienfostier/gaffer,GafferHQ/gaffer,andrewkaufman/gaffer,chippey/gaffer,johnhaddon/gaffer,boberfly/gaffer,davidsminor/gaffer,appleseedhq/gaffer,ImageEngine/gaffer,GafferHQ/gaffer,hradec/gaffer,lucienfostier/gaffer,cedriclaunay/gaffer,davidsminor/gaffer,GafferHQ/gaffer,ivanimanishi/gaffer,ImageEngine/gaffer,ImageEngine/gaffer,appleseedhq/gaffer,ivanimanishi/gaffer,ivanimanishi/gaffer,ivanimanishi/gaffer,goddardl/gaffer,boberfly/gaffer,andrewkaufman/gaffer,cedriclaunay/gaffer,ImageEngine/gaffer,GafferHQ/gaffer,chippey/gaffer,cedriclaunay/gaffer,davidsminor/gaffer,lucienfostier/gaffer,johnhaddon/gaffer,andrewkaufman/gaffer,johnhaddon/gaffer,andrewkaufman/gaffer,goddardl/gaffer,cedriclaunay/gaffer,davidsminor/gaffer,GafferHQ/gaffer,lucienfostier/gaffer,hradec/gaffer