[Uml-devel] branches/KDE/3.5/kdesdk/umbrello/umbrello/codeimport

Oliver Kellogg okellogg at users.sourceforge.net
Thu Jan 11 19:03:36 UTC 2007


SVN commit 622393 by okellogg:

createGeneralization(): Set the UMLPackage in the UMLAssociation.

 M  +1 -0      import_utils.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/codeimport/import_utils.cpp #622392:622393
@@ -360,6 +360,7 @@
     }
     UMLAssociation *assoc = new UMLAssociation(association, child, parent);
     UMLDoc *umldoc = UMLApp::app()->getDocument();
+    assoc->setUMLPackage(umldoc->getRootFolder(Uml::mt_Logical));
     umldoc->addAssociation(assoc);
 }
 




More information about the umbrello-devel mailing list