summaryrefslogtreecommitdiffstats
path: root/stats/statsview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'stats/statsview.cpp')
-rw-r--r--stats/statsview.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/stats/statsview.cpp b/stats/statsview.cpp
index feb5a276e..6560360cc 100644
--- a/stats/statsview.cpp
+++ b/stats/statsview.cpp
@@ -68,6 +68,7 @@ void StatsView::mousePressEvent(QMouseEvent *event)
dragStartItem = rect.topLeft();
draggedItem = &*legend;
grabMouse();
+ setKeepMouseGrab(true); // don't allow Qt to steal the grab
}
}
}