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()