mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Update regardless of button.
This commit is contained in:
parent
036abd4852
commit
839f78e19b
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue