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: {