1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

VerticalTabs - Accept click event on tree collapse

Very often when the tree collapse/expand button was pressed apart from
expected function the dragging of the tab group started.

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2021-01-10 21:52:27 +01:00 committed by Juraj Oravec
parent d8a706f3a9
commit 79b356cce5

View File

@ -226,6 +226,8 @@ bool TabTreeView::viewportEvent(QEvent *event)
} else {
expand(m_pressedIndex);
}
me->accept();
return true;
} else if (m_pressedButton == NoButton && tab) {
tab->makeCurrentTab();
}