Hi,
I am having test application that uses a tableview with model as CustomProxyModel (inherits from QSortFilterProxyModel) and the customproxymodel has a source model as StandardItemModel(the model has some data).When i tried to read the selected index using the following code:-
Qt Code:
tableview->selectionModel()->selectedIndexs()To copy to clipboard, switch view to plain text mode
Everything works fine but when i change my selection behaviour to QAbstractItemView::SelectRows then crash happens.Am i missing some reimplementation methods from sortfilterproxymodel.
Bookmarks