From 839f78e19bfdd32a8702d0004b4d06653ef0f213 Mon Sep 17 00:00:00 2001 From: Cranken Date: Sat, 29 Sep 2018 22:35:33 +0200 Subject: [PATCH] Update regardless of button. --- src/widgets/helper/NotebookTab.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/helper/NotebookTab.cpp b/src/widgets/helper/NotebookTab.cpp index 760799b07..9a5e36362 100644 --- a/src/widgets/helper/NotebookTab.cpp +++ b/src/widgets/helper/NotebookTab.cpp @@ -361,11 +361,11 @@ void NotebookTab::mousePressEvent(QMouseEvent *event) this->mouseDown_ = true; this->mouseDownX_ = this->getXRect().contains(event->pos()); - this->update(); - this->notebook_->select(page); } + this->update(); + if (this->notebook_->getAllowUserTabManagement()) { switch (event->button()) { case Qt::RightButton: {