mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 03:40:14 +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();
|
editMode.dragAborted();
|
||||||
mDragging = false;
|
mDragging = false;
|
||||||
|
mDragMode.clear();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -584,6 +585,7 @@ void CSVRender::WorldspaceWidget::editModeChanged (const std::string& id)
|
|||||||
{
|
{
|
||||||
dynamic_cast<CSVRender::EditMode&> (*mEditMode->getCurrent()).setEditLock (mLocked);
|
dynamic_cast<CSVRender::EditMode&> (*mEditMode->getCurrent()).setEditLock (mLocked);
|
||||||
mDragging = false;
|
mDragging = false;
|
||||||
|
mDragMode.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSVRender::WorldspaceWidget::showToolTip()
|
void CSVRender::WorldspaceWidget::showToolTip()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user