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:
parent
5656745445
commit
d33c98c68d
3 changed files with 1 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -44,8 +44,6 @@ namespace CSVWidget
|
|||
|
||||
void setButton (std::map<ModeButton *, std::string>::iterator iter);
|
||||
|
||||
void mouseReleaseEvent (QMouseEvent *event);
|
||||
|
||||
protected:
|
||||
|
||||
bool event(QEvent* event);
|
||||
|
|
Loading…
Reference in a new issue