Commit 02696cb8 authored by Ralf Habacker's avatar Ralf Habacker

Fix 'Imported classes from file do not show available associations'

BUG:390901
FIXED-IN:2.24.3 (KDE Applications 17.12.3)
parent 25c9df06
......@@ -344,8 +344,9 @@ bool importGraph(const QStringList &lines, UMLScene *scene, const QString &fileN
UMLWidget *w = Widget_Factory::createWidget(scene, o);
if (lastWidget)
w->setX(lastWidget->x() + lastWidget->width() + 10);
w->activate();
scene->addWidgetCmd(w);
scene->setupNewWidget(w, false);
scene->createAutoAssociations(w);
scene->createAutoAttributeAssociations2(w);
widgetList[l[0]] = w;
lastWidget = w;
} else if (l.size() == 3 && l[1].startsWith(QLatin1Char('-'))) { // associations
......
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