diff --git a/apps/opencs/view/render/scenewidget.cpp b/apps/opencs/view/render/scenewidget.cpp index b498fba061..d6f12b5298 100644 --- a/apps/opencs/view/render/scenewidget.cpp +++ b/apps/opencs/view/render/scenewidget.cpp @@ -235,7 +235,7 @@ namespace CSVRender void SceneWidget::mouseReleaseEvent (QMouseEvent *event) { - if (event->buttons() & Qt::LeftButton) + if (!(event->buttons() & Qt::LeftButton)) mDragging = false; }