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:
parent
d8a706f3a9
commit
79b356cce5
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user