mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-24 04:32:15 -04:00
quick fix tabbar navigation
Add the execution of normal mousePressEvent() if it's not the middlebutton. Without this the navigation between tab is impossible.
This commit is contained in:
parent
582febd5f7
commit
684da69ac7
@ -240,5 +240,7 @@ void TabBar::mousePressEvent(QMouseEvent *event)
|
||||
{
|
||||
if (event->button() == Qt::MiddleButton) {
|
||||
closeTab(this->tabAt(event->pos()));
|
||||
} else {
|
||||
QTabBar::mousePressEvent(event);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user