[Uml-devel] branches/work/soc-umbrello/umbrello/widgets

Andi Fischer andi.fischer at hispeed.ch
Mon Apr 16 07:13:42 UTC 2012


SVN commit 1289834 by fischer:

Adjustement of text positions of associations while moving added.

 M  +6 -0      umlwidget.cpp  


--- branches/work/soc-umbrello/umbrello/widgets/umlwidget.cpp #1289833:1289834
@@ -539,6 +539,12 @@
         }
     }
 
+    // reset text positions of associations while moving
+    foreach (AssociationWidget *assoc,
+            m_associationSpaceManager->associationWidgets()) {
+        assoc->resetTextPositions();
+    }
+
     m_mouseMoveEventStore->setLastPos(m_mouseMoveEventStore->pos());
     m_mouseMoveEventStore->setLastScenePos(m_mouseMoveEventStore->scenePos());
     m_mouseMoveEventStore->setLastScreenPos(m_mouseMoveEventStore->screenPos());




More information about the umbrello-devel mailing list