summaryrefslogtreecommitdiff
path: root/src/editor.cc
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-08-01 19:57:38 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-08-01 19:57:38 (GMT)
commit24fbfdf9551915918f43650057fea74b1ad76286 (patch)
treed090e6b83440ab209e03590ae54f3bc7f5521728 /src/editor.cc
parent5d0825efd71d93776a01dfb5bd33bbd513b8748e (diff)
fix broken mousewheel scrolling (bug introduced by ctrl-wheel-zoom feature)
Diffstat (limited to 'src/editor.cc')
-rw-r--r--src/editor.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/editor.cc b/src/editor.cc
index bba8d4f..92aeefe 100644
--- a/src/editor.cc
+++ b/src/editor.cc
@@ -104,6 +104,8 @@ void Editor::wheelEvent ( QWheelEvent * event )
zoomIn();
else if (event->delta() < 0 )
zoomOut();
+ } else {
+ QTextEdit::wheelEvent( event );
}
}
contact: Jan Huwald // Impressum