[Uml-devel] [Bug 63897] Crash when trying to associate two classes in a collaboration diagram

David Faure faure at kde.org
Mon Sep 8 21:07:03 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=63897     




------- Additional Comments From faure at kde.org  2003-09-08 14:57 -------
This appears to fix it, but then I can't change the label on the association !? 
 
--- associationwidget.cpp       7 Sep 2003 19:01:05 -0000       1.30 
+++ associationwidget.cpp       8 Sep 2003 12:56:17 -0000 
@@ -67,7 +67,7 @@ AssociationWidget::AssociationWidget(QWi 
        //collaboration messages need a name label because it's that 
        //which handles the right click menu options 
        if (getAssocType() == at_Coll_Message) { 
-               setName( dynamic_cast<FloatingText*>(getNameWidget())->getText() ); 
+               setName( QString::null ); 
                m_pName->setUMLObject( m_pWidgetB->getUMLObject() ); 
        }




More information about the umbrello-devel mailing list