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

Oliver Kellogg okellogg at users.sourceforge.net
Wed Apr 18 20:35:39 UTC 2007


SVN commit 655592 by okellogg:

contentsDragEnterEvent(), case dt_UseCase: Limit widgetOnDiagram() test to ot_Actor.
BUG:140150


 M  +1 -0      ChangeLog  
 M  +1 -1      umbrello/umlview.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #655591:655592
@@ -16,6 +16,7 @@
 * Sequence diagram object size incorrect after toggling "Draw as Actor" (136869)
 * Incorrect Association Properties text (139872)
 * Buttons are not displayed (139913)
+* Impossible to reuse same use case in a use case diagram (140150)
 * Java 5 generics support (140669)
 * Associations not updated during move of class on diagram (140709)
 * Crash when deleting the link between a package and a class (141602)
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umlview.cpp #655591:655592
@@ -545,7 +545,7 @@
     bool bAccept = true;
     switch (diagramType) {
         case dt_UseCase:
-            if (widgetOnDiagram(id) ||
+            if ((widgetOnDiagram(id) && ot == ot_Actor) ||
                 (ot != ot_Actor && ot != ot_UseCase))
                 bAccept = false;
             break;




More information about the umbrello-devel mailing list