Update regardless of button.
This commit is contained in:
@@ -361,11 +361,11 @@ void NotebookTab::mousePressEvent(QMouseEvent *event)
|
|||||||
this->mouseDown_ = true;
|
this->mouseDown_ = true;
|
||||||
this->mouseDownX_ = this->getXRect().contains(event->pos());
|
this->mouseDownX_ = this->getXRect().contains(event->pos());
|
||||||
|
|
||||||
this->update();
|
|
||||||
|
|
||||||
this->notebook_->select(page);
|
this->notebook_->select(page);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this->update();
|
||||||
|
|
||||||
if (this->notebook_->getAllowUserTabManagement()) {
|
if (this->notebook_->getAllowUserTabManagement()) {
|
||||||
switch (event->button()) {
|
switch (event->button()) {
|
||||||
case Qt::RightButton: {
|
case Qt::RightButton: {
|
||||||
|
|||||||
Reference in New Issue
Block a user