You can probably remove the whole treeRowClicked() method and keep the old content of treeViewSelectedChanged() method.
treeViewSelectedChanged() will make sure selection with keyboard works whereas treeRowClicked() will only be called when the mouse is used.