mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +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 {
|
} else {
|
||||||
expand(m_pressedIndex);
|
expand(m_pressedIndex);
|
||||||
}
|
}
|
||||||
|
me->accept();
|
||||||
|
return true;
|
||||||
} else if (m_pressedButton == NoButton && tab) {
|
} else if (m_pressedButton == NoButton && tab) {
|
||||||
tab->makeCurrentTab();
|
tab->makeCurrentTab();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user