Details
-
Bug
-
Resolution: Duplicate
-
P2: Important
-
5.6.1
-
None
-
baad82d242a4d8c1af6c87faaa7f25584183fd53
Description
Please see the attached archive for the example project.
When several proxy models are chained and there's QIdentityProxyModel in the middle of the chain, QComboBox loses selected item when the sorting order changes.
This actually seems to be `QIdentityProxyModel's` bug, since chained `QSortFilterProxyModel` instances work pretty well. I managed to fix this by patching `qidentityproxymodel.cpp` as suggested in https://bugreports.qt.io/browse/QTBUG-44143, which seems to be related issue.
Attachments
Issue Links
- duplicates
-
QTBUG-32981 QIdentityProxyModel not working when chained with a QSortFilterProxyModel
- Closed