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:
parent
51a4e3fa7d
commit
a63453846b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user