]> git.sesse.net Git - nageru/commitdiff
If using the mouse wheel to change pts, don't use it to scroll.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 21 Oct 2018 22:24:47 +0000 (00:24 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 21 Oct 2018 22:24:47 +0000 (00:24 +0200)
mainwindow.cpp

index 198a6313ee3237b908cf3ae8d2481b2f7d7523d2..a483dc17a4b1d1ca86370bcfd3b90372e1127c79 100644 (file)
@@ -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;
        }