Reversed scroll behavior.

This commit is contained in:
23rd 2018-10-06 14:18:27 +03:00
parent 1fcfd8b13a
commit 871fde5f72

View file

@ -482,9 +482,9 @@ void NotebookTab::mouseMoveEvent(QMouseEvent *event)
void NotebookTab::wheelEvent(QWheelEvent *event) void NotebookTab::wheelEvent(QWheelEvent *event)
{ {
if (event->delta() > 0) { if (event->delta() > 0) {
this->notebook_->selectNextTab();
} else {
this->notebook_->selectPreviousTab(); this->notebook_->selectPreviousTab();
} else {
this->notebook_->selectNextTab();
} }
} }