@@ -52,7 +52,6 @@ QSortFilterProxyModelQML::setModel(QAbstractItemModel *itemModel)
5252 connect(itemModel, SIGNAL(rowsInserted(QModelIndex,int,int)), SIGNAL(totalCountChanged()));
5353 connect(itemModel, SIGNAL(rowsRemoved(QModelIndex,int,int)), SIGNAL(totalCountChanged()));
5454 Q_EMIT totalCountChanged();
55− Q_EMIT countChanged();
5655 Q_EMIT modelChanged();
5756 }
5857}
@@ -95,6 +94,7 @@ QSortFilterProxyModelQML::setInvertMatch(bool invertMatch)
9594 if (invertMatch != m_invertMatch) {
9695 m_invertMatch = invertMatch;
9796 Q_EMIT invertMatchChanged(invertMatch);
97+ invalidateFilter();
9898 }
9999}
100100