summaryrefslogtreecommitdiffstats
path: root/stats/pieseries.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'stats/pieseries.cpp')
-rw-r--r--stats/pieseries.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/stats/pieseries.cpp b/stats/pieseries.cpp
index 83b1645f1..a100d66e0 100644
--- a/stats/pieseries.cpp
+++ b/stats/pieseries.cpp
@@ -244,8 +244,9 @@ bool PieSeries::hover(QPointF pos)
if (!information)
information = view.createChartItem<InformationBox>();
information->setText(makeInfo(highlighted), pos);
+ information->setVisible(true);
} else {
- information.reset();
+ information->setVisible(false);
}
return highlighted >= 0;
}