[Uml-devel] [Bug 140709] When moving an E/R diagram class the relationship arrow does not get updated until you release the class

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


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=140709         
okellogg users sourceforge net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From okellogg users sourceforge net  2007-02-17 12:37 -------
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