1
0
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:
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;
}