mirror of
https://github.com/fergalmoran/flameshot.git
synced 2026-02-11 04:54:00 +00:00
Fix drag behavior of Tool Settings button (#1891)
Signed-off-by: Haris Gušić <harisgusic.dev@gmail.com>
This commit is contained in:
@@ -52,8 +52,8 @@ bool DraggableWidgetMaker::eventFilter(QObject* obj, QEvent* event)
|
||||
}
|
||||
} break;
|
||||
case QEvent::MouseButtonRelease: {
|
||||
m_isPressing = false;
|
||||
if (m_isDragging) {
|
||||
m_isPressing = false;
|
||||
m_isDragging = false;
|
||||
event->ignore();
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user