Hi Everyone,
I have a QTreeView that displays some directory content using an underlying QDirModel. My problem is that when it is displayed, none of the rows is selected (ie. highlighted) in the view - I have to click on the first row for example to do that.
I want however the first row selected by default when the view shows up.
Tried some examples from the net but none worked...
Does anyone know how to achieve this?
Thanks for your help,
Istvan
Bookmarks