Emit a countChanged when setting the model to make sure the view is aware of the new count

This commit is contained in:
Michael Zanetti 2019-02-05 23:01:41 +01:00
parent 6a7416cc85
commit 5a6a6c864f

View File

@ -21,6 +21,7 @@ void TagsProxyModel::setTags(Tags *tags)
setSortRole(Tags::RoleValue);
sort(0);
emit tagsChanged();
emit countChanged();
}
}