mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 15:39:02 +00:00
fixed mouse button release detection
This commit is contained in:
parent
e33bd4d508
commit
644f5cb8de
@ -235,7 +235,7 @@ namespace CSVRender
|
||||
|
||||
void SceneWidget::mouseReleaseEvent (QMouseEvent *event)
|
||||
{
|
||||
if (event->buttons() & Qt::LeftButton)
|
||||
if (!(event->buttons() & Qt::LeftButton))
|
||||
mDragging = false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user