From 6ca12024aedc6fae30c41792f0ccf2f4f2938161 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Sun, 20 Jul 2014 19:42:34 +1000 Subject: [PATCH] Also update vertical line when hovering over eventflags graph --- sleepyhead/Graphs/gFlagsLine.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sleepyhead/Graphs/gFlagsLine.cpp b/sleepyhead/Graphs/gFlagsLine.cpp index 4835f605..87bc9600 100644 --- a/sleepyhead/Graphs/gFlagsLine.cpp +++ b/sleepyhead/Graphs/gFlagsLine.cpp @@ -127,6 +127,10 @@ void gFlagsGroup::paint(QPainter &painter, gGraph &g, const QRegion ®ion) bool gFlagsGroup::mouseMoveEvent(QMouseEvent *event, gGraph *graph) { + + if (graph->graphView()->metaSelect()) + graph->timedRedraw(30); + if (!p_profile->appearance->graphTooltips()) { return false; } @@ -144,7 +148,7 @@ bool gFlagsGroup::mouseMoveEvent(QMouseEvent *event, gGraph *graph) QString ttip = schema::channel[fl->code()].fullname() + "\n" + schema::channel[fl->code()].description(); graph->ToolTip(ttip, event->x(), event->y() - 15); - graph->redraw(); + graph->timedRedraw(30); } }