PDA

View Full Version : How to keep selected item in QTreeView



TorAn
18th July 2011, 16:29
I have a dialog with QTreeView and a button. When I click the button TreeView looses the focus. How can I tell to the view or a model that it should keep selection?

Santosh Reddy
19th July 2011, 05:16
Are you sure, tree view loses selection. Well it will lose only focus, selection is still maintained.