diff options
Diffstat (limited to 'desktop-widgets/statswidget.cpp')
-rw-r--r-- | desktop-widgets/statswidget.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop-widgets/statswidget.cpp b/desktop-widgets/statswidget.cpp index e0090395f..33174778d 100644 --- a/desktop-widgets/statswidget.cpp +++ b/desktop-widgets/statswidget.cpp @@ -185,7 +185,9 @@ void StatsWidget::var2OperationChanged(int idx) void StatsWidget::featureChanged(int idx, bool status) { state.featureChanged(idx, status); - updateUi(); + // No need for a full chart replot - just show/hide the features + if (view) + view->updateFeatures(state); } void StatsWidget::showEvent(QShowEvent *e) |