Commit c2f15333 authored by Ralf Habacker's avatar Ralf Habacker
Browse files

Fixes the problem that the geometry of the interface widget was not updated...

Fixes the problem that the geometry of the interface widget was not updated when the connection was disconnected

CCBUG:403761
parent d5cb5adb
......@@ -1175,6 +1175,10 @@ void UMLWidget::removeAssoc(AssociationWidget* pAssoc)
if (pAssoc) {
associationWidgetList().removeAll(pAssoc);
}
if (changesShape()) {
updateGeometry();
}
}
/**
......@@ -1185,6 +1189,7 @@ void UMLWidget::removeAssoc(AssociationWidget* pAssoc)
*/
void UMLWidget::adjustAssocs(qreal dx, qreal dy)
{
qDebug() << this;
// don't adjust Assocs on file load, as
// the original positions, which are stored in XMI
// should be reproduced exactly
......
Markdown is supported
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