1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 22:15:32 +00:00

Revert unintended changes

This commit is contained in:
Nelsson Huotari 2018-05-06 18:13:15 +03:00
parent 5656745445
commit d33c98c68d
3 changed files with 1 additions and 11 deletions

View file

@ -576,6 +576,7 @@ void CSVRender::WorldspaceWidget::debugProfileAboutToBeRemoved (const QModelInde
void CSVRender::WorldspaceWidget::editModeChanged (const std::string& id)
{
dynamic_cast<CSVRender::EditMode&> (*mEditMode->getCurrent()).setEditLock (mLocked);
mDragging = false;
mDragMode = InteractionType_None;
}

View file

@ -134,15 +134,6 @@ void CSVWidget::SceneToolMode::setButton (const std::string& id)
}
}
void CSVWidget::SceneToolMode::mouseReleaseEvent (QMouseEvent *event)
{
if (getType()==Type_TopAction && event->button()==Qt::RightButton)
showPanel (parentWidget()->mapToGlobal (pos()));
else
PushButton::mouseReleaseEvent (event);
}
bool CSVWidget::SceneToolMode::event(QEvent* event)
{
if (event->type() == QEvent::ToolTip)

View file

@ -44,8 +44,6 @@ namespace CSVWidget
void setButton (std::map<ModeButton *, std::string>::iterator iter);
void mouseReleaseEvent (QMouseEvent *event);
protected:
bool event(QEvent* event);