summaryrefslogtreecommitdiffstats
path: root/stats/statsview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'stats/statsview.cpp')
-rw-r--r--stats/statsview.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/stats/statsview.cpp b/stats/statsview.cpp
index bf4ecdc6a..9ee0f0e44 100644
--- a/stats/statsview.cpp
+++ b/stats/statsview.cpp
@@ -81,8 +81,9 @@ void StatsView::mousePressEvent(QMouseEvent *event)
}
}
+ bool shiftPressed = event->modifiers() & Qt::ShiftModifier;
for (auto &series: series)
- series->selectItemsUnderMouse(pos);
+ series->selectItemsUnderMouse(pos, shiftPressed);
}
void StatsView::mouseReleaseEvent(QMouseEvent *)