1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-11 09:36:37 +00:00

properly clear drag mode at the end of a drag

This commit is contained in:
Marc Zinnschlag 2016-03-05 11:14:08 +01:00
parent 51a4e3fa7d
commit a63453846b

View File

@ -372,6 +372,7 @@ void CSVRender::WorldspaceWidget::abortDrag()
editMode.dragAborted();
mDragging = false;
mDragMode.clear();
}
}
@ -584,6 +585,7 @@ void CSVRender::WorldspaceWidget::editModeChanged (const std::string& id)
{
dynamic_cast<CSVRender::EditMode&> (*mEditMode->getCurrent()).setEditLock (mLocked);
mDragging = false;
mDragMode.clear();
}
void CSVRender::WorldspaceWidget::showToolTip()