[Uml-devel] KDE_3_2_BRANCH: kdesdk/umbrello/umbrello
Jonathan Riddell
jri at jriddell.org
Sat Mar 27 13:04:02 UTC 2004
CVS commit by jriddell:
Backport commit from "Mon Mar 22 20:06:37 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.34.2.1
--- kdesdk/umbrello/umbrello/floatingtext.cpp #1.34:1.34.2.1
@@ -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