1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-04-01 04:06:39 +00:00

fixed mouse button release detection

This commit is contained in:
Marc Zinnschlag 2014-02-25 14:28:55 +01:00
parent e33bd4d508
commit 644f5cb8de

View file

@ -235,7 +235,7 @@ namespace CSVRender
void SceneWidget::mouseReleaseEvent (QMouseEvent *event)
{
if (event->buttons() & Qt::LeftButton)
if (!(event->buttons() & Qt::LeftButton))
mDragging = false;
}