From f514cfa5fe8864191c78ef5d08a8f4a11573c873 Mon Sep 17 00:00:00 2001 From: Mathieu Labbe Date: Mon, 23 Feb 2015 18:20:31 -0500 Subject: [PATCH] reversed wheel zoom direction in GraphView --- guilib/src/GraphViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guilib/src/GraphViewer.cpp b/guilib/src/GraphViewer.cpp index 70378a19..a99606c4 100644 --- a/guilib/src/GraphViewer.cpp +++ b/guilib/src/GraphViewer.cpp @@ -627,7 +627,7 @@ void GraphViewer::restoreDefaults() void GraphViewer::wheelEvent ( QWheelEvent * event ) { - if(event->delta() > 0) + if(event->delta() < 0) { this->scale(0.95, 0.95); }