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

Oliver Kellogg okellogg at users.sourceforge.net
Sun Nov 19 18:06:39 UTC 2006


SVN commit 606237 by okellogg:

acceptDrag(): Accept srcType=lvt_{Artifact,Component_Diagram} also if dstType
 is lvt_Deployment_Folder.
How to use this fix: Drag the artifacts from the Deployment View folder to the
 Component View folder in the list view.
BUG:137564


 M  +2 -1      umllistview.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umllistview.cpp #606236:606237
@@ -1199,7 +1199,8 @@
             break;
         case Uml::lvt_Artifact:
         case Uml::lvt_Component_Diagram:
-            accept = (dstType == Uml::lvt_Component_Folder);
+            accept = (dstType == Uml::lvt_Component_Folder ||
+                      dstType == Uml::lvt_Component_View);
             break;
         case Uml::lvt_Node:
         case Uml::lvt_Deployment_Diagram:




More information about the umbrello-devel mailing list