mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-14 02:52:12 +01:00
ComboTabBar: Only reset dragInProgress on left mouse button release
This commit is contained in:
parent
54bad20590
commit
b21e2634bc
|
@ -1465,9 +1465,11 @@ void TabBarHelper::mouseReleaseEvent(QMouseEvent* event)
|
||||||
{
|
{
|
||||||
event->ignore();
|
event->ignore();
|
||||||
|
|
||||||
|
if (event->button() == Qt::LeftButton) {
|
||||||
m_pressedIndex = -1;
|
m_pressedIndex = -1;
|
||||||
m_dragInProgress = false;
|
m_dragInProgress = false;
|
||||||
m_dragStartPosition = QPoint();
|
m_dragStartPosition = QPoint();
|
||||||
|
}
|
||||||
|
|
||||||
QTabBar::mouseReleaseEvent(event);
|
QTabBar::mouseReleaseEvent(event);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user