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