diff options
author | don bright <hugh.m.bright@gmail.com> | 2012-08-01 19:57:38 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2012-08-01 19:57:38 (GMT) |
commit | 24fbfdf9551915918f43650057fea74b1ad76286 (patch) | |
tree | d090e6b83440ab209e03590ae54f3bc7f5521728 /src/editor.cc | |
parent | 5d0825efd71d93776a01dfb5bd33bbd513b8748e (diff) |
fix broken mousewheel scrolling (bug introduced by ctrl-wheel-zoom feature)
Diffstat (limited to 'src/editor.cc')
-rw-r--r-- | src/editor.cc | 2 |
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 ); } } |