diff options
Diffstat (limited to 'stats/chartlistmodel.cpp')
-rw-r--r-- | stats/chartlistmodel.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stats/chartlistmodel.cpp b/stats/chartlistmodel.cpp index bce54ce25..7f7afe4d0 100644 --- a/stats/chartlistmodel.cpp +++ b/stats/chartlistmodel.cpp @@ -7,7 +7,7 @@ #include <QPainter> ChartListModel::ChartListModel() : - itemFont(defaultModelFont()), + itemFont(defaultModelFont()), headerFont(itemFont.family(), itemFont.pointSize(), itemFont.weight(), true) { QFontMetrics fm(itemFont); @@ -127,5 +127,6 @@ int ChartListModel::update(const StatsState::ChartList &charts) items.push_back({ false, chart.subtypeName, fullName, chart.subtype, chart.id, chart.warning }); } endResetModel(); + emit countChanged(); return res; } |