[Uml-devel] branches/KDE/3.4/kdesdk/umbrello/umbrello

Oliver Kellogg okellogg at users.sourceforge.net
Thu Jun 2 13:19:17 UTC 2005


SVN commit 421349 by okellogg:

Backport fix for bug 106673 from main trunk.


 M  +3 -2      association.cpp  


--- branches/KDE/3.4/kdesdk/umbrello/umbrello/association.cpp #421348:421349
@@ -266,8 +266,9 @@
                 // is not complete, so we need to finish the analysis here.
 
 		// its a realization if either endpoint is an interface
-		if (obj[A] && obj[A]->getBaseType() == Uml::ot_Interface ||
-		    obj[B] && obj[B]->getBaseType() == Uml::ot_Interface)
+		if (m_AssocType == Uml::at_Generalization &&
+		    (obj[A] && obj[A]->getBaseType() == Uml::ot_Interface ||
+		     obj[B] && obj[B]->getBaseType() == Uml::ot_Interface))
 			m_AssocType = Uml::at_Realization;
 
 		return true;




More information about the umbrello-devel mailing list