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