forked from teamnwah/openmw-tes3coop
properly clear drag mode at the end of a drag
This commit is contained in:
parent
51a4e3fa7d
commit
a63453846b
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue