[Interest] Empty QML ListView after filtering QSortFilterProxyModel
Hello all, I use the setFilterRole(), setFilterFixedString() function and so on. The application is a QML application where the business logic is written in C++. After setting the filter, I run in a for loop over the Model and Print the items for debugging purpose, which works fine. The problem now is, that when the filter is applied, the QML listview gets empty. Before applying the filter, I see the items as they should. Have anyone some hints why the listview isn‘t showing anything after filtering? Thanks in advance Roman ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest
[Interest] Empty QML ListView after filtering QSortFilterProxyModel
Hello all, I use the setFilterRole(), setFilterFixedString() function and so on. The application is a QML application where the business logic is written in C++. After setting the filter, I run in a for loop over the Model and Print the items for debugging purpose, which works fine. The problem now is, that when the filter is applied, the QML listview gets empty. Before applying the filter, I see the items as they should. Have anyone some hints why the listview isn‘t showing anything after filtering? Thanks in advance Roman ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest