mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-23 03:58:56 -04:00
Merge pull request #244 from kiwix/quick-fix-tabbar
[URGENT] quick fix tabbar navigation
This commit is contained in:
commit
c5b147dcd9
@ -240,5 +240,7 @@ void TabBar::mousePressEvent(QMouseEvent *event)
|
|||||||
{
|
{
|
||||||
if (event->button() == Qt::MiddleButton) {
|
if (event->button() == Qt::MiddleButton) {
|
||||||
closeTab(this->tabAt(event->pos()));
|
closeTab(this->tabAt(event->pos()));
|
||||||
|
} else {
|
||||||
|
QTabBar::mousePressEvent(event);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user