mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +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();
|
||||
|
||||
m_pressedIndex = -1;
|
||||
m_dragInProgress = false;
|
||||
m_dragStartPosition = QPoint();
|
||||
if (event->button() == Qt::LeftButton) {
|
||||
m_pressedIndex = -1;
|
||||
m_dragInProgress = false;
|
||||
m_dragStartPosition = QPoint();
|
||||
}
|
||||
|
||||
QTabBar::mouseReleaseEvent(event);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user