[Uml-devel] kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Mon Mar 22 12:03:35 UTC 2004


CVS commit by okellogg: 

slotMenuSelection(mt_Operation): Fix bug 76506 (new operation of
collaboration diagram message inserted at wrong class.)


  M +4 -1      floatingtext.cpp   1.36


--- kdesdk/umbrello/umbrello/floatingtext.cpp  #1.35:1.36
@@ -134,4 +134,7 @@ void FloatingText::slotMenuSelection(int
                         UMLClassifier* c;
                         if (m_pAssoc)  {
+                                if (m_pAssoc->getAssocType() == at_Coll_Message)
+                                        c = (UMLClassifier*)( m_pAssoc->getWidgetB()->getUMLObject() );
+                                else
                                 c = (UMLClassifier*)( m_pAssoc->getWidgetA()->getUMLObject() );
                         } else {






More information about the umbrello-devel mailing list