SortFilterModel: Invalidate filter when changing filter callback
Model is now correctly filtered when setting filter callback. REVIEW: 127588
This commit is contained in:
parent
035e061e13
commit
b3076a410c
@ -151,6 +151,7 @@ void SortFilterModel::setFilterCallback(const QJSValue& callback)
|
||||
}
|
||||
|
||||
m_filterCallback = callback;
|
||||
invalidateFilter();
|
||||
|
||||
emit filterCallbackChanged(callback);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user