Emit a countChanged when setting the model to make sure the view is aware of the new count
This commit is contained in:
parent
6a7416cc85
commit
5a6a6c864f
@ -21,6 +21,7 @@ void TagsProxyModel::setTags(Tags *tags)
|
||||
setSortRole(Tags::RoleValue);
|
||||
sort(0);
|
||||
emit tagsChanged();
|
||||
emit countChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user