Fully invalidate model when keyfilter is set

Just calling invalidateFilter is not enough to properly
update users of the model like the keyselectioncombo.
parent 48c636f9
......@@ -161,7 +161,7 @@ void KeyListSortFilterProxyModel::setKeyFilter(const std::shared_ptr<const KeyFi
return;
}
d->keyFilter = kf;
invalidateFilter();
invalidate();
}
bool KeyListSortFilterProxyModel::filterAcceptsRow(int source_row, const QModelIndex &source_parent) const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment