-
Suggestion
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
None
rootindex of TreeView does not adapt well to QSortFilterProxyModel.
when the filter model's content changed, the rootindex may become invalid.
but when QSortFilterProxyModel restore it's content(with sourceModel no change), the rootIndex can't restore automatically.
rootIndex is also a filter, maybe implemented by QSortFilterProxyModel can work better.