[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Thu Apr 15 07:47:05 UTC 2004


CVS commit by okellogg: 

Catch up forgotten mods by Piotr Kolaczkowski for bug 76114.


  M +2 -0      associationwidget.cpp   1.92


--- kdesdk/umbrello/umbrello/associationwidget.cpp  #1.91:1.92
@@ -389,4 +389,5 @@ bool AssociationWidget::setRoleName (QSt
                 m_role[role].m_pRole = new FloatingText(m_pView, tr, strRole);
                 m_role[role].m_pRole->setAssoc(this);
+                m_pView->addWidget(m_role[role].m_pRole);
                 Scope scope = (role == A ? getVisibilityA() : getVisibilityB());
                 m_role[role].m_pRole->setPreText(UMLAssociation::ScopeToString(scope));
@@ -519,4 +520,5 @@ bool AssociationWidget::setChangeWidget(
                 m_role[role].m_pChangeWidget = new FloatingText(m_pView, tr, strChangeWidget);
                 m_role[role].m_pChangeWidget->setAssoc(this);
+                m_pView->addWidget(m_role[role].m_pChangeWidget);
                 m_role[role].m_pChangeWidget->setPreText("{"); // all types have this
                 m_role[role].m_pChangeWidget->setPostText("}"); // all types have this






More information about the umbrello-devel mailing list