Reversed scroll behavior.
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user