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

Oliver Kellogg okellogg at users.sourceforge.net
Sun Sep 4 02:10:17 UTC 2005


SVN commit 456944 by okellogg:

mouseMoveEvent(): Exclude boxes from the solution to bug 106356 because
they are transparent. The problem was revealed after fixing bug 112017.


 M  +1 -1      associationwidget.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/umbrello/associationwidget.cpp #456943:456944
@@ -2489,7 +2489,7 @@
     // Prevent the moving vertex from disappearing underneath a widget
     // (else there's no way to get it back.)
     UMLWidget *onW = m_pView->testOnWidget(p);
-    if (onW) {
+    if (onW && onW->getBaseType() != Uml::wt_Box) {  // boxes are transparent
         const int pX = p.x();
         const int pY = p.y();
         const int wX = onW->getX();




More information about the umbrello-devel mailing list