From 5221e4eb2aa753397f58c9fcec066c191351e67c Mon Sep 17 00:00:00 2001 From: Joern Date: Sun, 22 Feb 2015 13:07:17 +0100 Subject: [PATCH] TreeMap/LTM Popup - Variable not filled ... counter variable not filled after moving from rides to activities --- src/TreeMapWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TreeMapWindow.cpp b/src/TreeMapWindow.cpp index a9e90e4b9..a5cd14457 100644 --- a/src/TreeMapWindow.cpp +++ b/src/TreeMapWindow.cpp @@ -304,7 +304,7 @@ TreeMapWindow::cellClicked(QString f1, QString f2) const RideMetricFactory &factory = RideMetricFactory::instance(); const RideMetric *metric = factory.rideMetric(settings.symbol); - ltmPopup->setData(spec, metric, QString(tr("%1 activities"))); + ltmPopup->setData(spec, metric, QString(tr("%1 activities")).arg(count)); popup->show(); }