From: Steinar H. Gunderson Date: Sun, 21 Oct 2018 22:24:47 +0000 (+0200) Subject: If using the mouse wheel to change pts, don't use it to scroll. X-Git-Tag: 1.8.0~76^2~43 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=451f8459b6d3fadafe429a0988b05d0559887f43;p=nageru If using the mouse wheel to change pts, don't use it to scroll. --- diff --git a/mainwindow.cpp b/mainwindow.cpp index 198a631..a483dc1 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -594,6 +594,7 @@ bool MainWindow::eventFilter(QObject *watched, QEvent *event) } } currently_deferring_model_changes = false; + return true; // Don't scroll. } else if (event->type() == QEvent::MouseButtonRelease) { scrubbing = false; }