mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
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();
|
||||
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 a new issue