Commit e2963934 authored by Oliver Kellogg's avatar Oliver Kellogg
Browse files

umbrello/umlscene.cpp function setupNewWidget() : Fix oversight from commit 69f447eb

parent 9f2c0115
......@@ -543,7 +543,7 @@ void UMLScene::setupNewWidget(UMLWidget *w, bool setPosition)
if (w->baseType() == WidgetBase::wt_Pin ||
w->baseType() == WidgetBase::wt_Port) {
PinPortBase *pw = static_cast<PinPortBase*>(w);
pw->attachToOwningComponent();
pw->attachToOwner();
} else if (w->baseType() != WidgetBase::wt_Object) {
// ObjectWidget's position is handled by the widget
w->setX(m_Pos.x());
......
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