Commit 7e997587 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

umbrello/widgets/messagewidget.cpp

- In function setY() do not emit sigMessageMoved() if
  UMLApp::app()->document()->loading()

umbrello/widgets/objectwidget.cpp
- In function setY() do not moveEvent(0) if
  UMLApp::app()->document()->loading()

BUG:336201
parent b61d3ab7
......@@ -158,7 +158,7 @@ void MessageWidget::setY(qreal y)
m_pOw[Uml::RoleType::B]->setY(y - objWidgetHalfHeight);
}
if (m_pFText) {
if (m_pFText && !UMLApp::app()->document()->loading()) {
setTextPosition();
emit sigMessageMoved();
}
......
......@@ -284,7 +284,8 @@ void ObjectWidget::setX(qreal x)
void ObjectWidget::setY(qreal y)
{
UMLWidget::setY(y);
moveEvent(0);
if (!UMLApp::app()->document()->loading())
moveEvent(0);
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment