Commit c0cd1f8d authored by Eike Hein's avatar Eike Hein

Fix submenus not updating when switching between categories of the same size

Summary:
This fixes a regression introduced in 38403268, which forgot to
handle the branch where the counts are the same.

BUG:394013

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D12774
parent 0d8189e9
......@@ -81,6 +81,8 @@ void FunnelModel::setSourceModel(QAbstractItemModel *model)
setNewModel();
endRemoveRows();
}
} else {
setNewModel();
}
if (newCount > 0) {
......
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