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

Oliver Kellogg okellogg at users.sourceforge.net
Sat Feb 17 11:37:01 UTC 2007


SVN commit 634457 by okellogg:

mouseMoveEvent(): Call m_widget->adjustUnselectedAssocs() on lastUpdate.elapsed()
BUG:140709


 M  +1 -0      ChangeLog  
 M  +5 -0      umbrello/umlwidgetcontroller.cpp  


--- branches/KDE/3.5/kdesdk/umbrello/ChangeLog #634456:634457
@@ -5,6 +5,7 @@
 * Relationships for entities do not live outside of an entity relationship diagram (125146)
 * Javascript wrong Code Generation (135527)
 * Javascript Code Generation creates bad format methods (135540)
+* Associations not updated during move of class on diagram (140709)
 * Crash when deleting the link between a package and a class (141602)
 * Ada95 Code Generation Errors for Aggregation (141644)
 * Unable to delete multiplicity information or lable from an association (141813)
--- branches/KDE/3.5/kdesdk/umbrello/umbrello/umlwidgetcontroller.cpp #634456:634457
@@ -159,6 +159,11 @@
     if (lastUpdate.elapsed() > 25) {
         update = true;
         lastUpdate.restart();
+
+        // CHECK: UMLWidget::adjustUnselectedAssocs(x,y) appears to take absolute
+        //      values for x and y. Surprisingly, supplying diffX and diffY seems
+        //      to work all the same ?!?
+        m_widget->adjustUnselectedAssocs(diffX, diffY);
     }
 
     while ((widget = it.current()) != 0) {




More information about the umbrello-devel mailing list