diff --git a/src/widgets/helper/NotebookTab.cpp b/src/widgets/helper/NotebookTab.cpp index 5143ea4e2..f3f2f7643 100644 --- a/src/widgets/helper/NotebookTab.cpp +++ b/src/widgets/helper/NotebookTab.cpp @@ -482,9 +482,9 @@ void NotebookTab::mouseMoveEvent(QMouseEvent *event) void NotebookTab::wheelEvent(QWheelEvent *event) { if (event->delta() > 0) { - this->notebook_->selectNextTab(); - } else { this->notebook_->selectPreviousTab(); + } else { + this->notebook_->selectNextTab(); } }