graphics/GraphicCommons.py
changeset 554 08c26c62f5a7
parent 550 cfa295862d55
child 563 3f92a5e18804
--- a/graphics/GraphicCommons.py	Fri Sep 09 11:58:53 2011 +0200
+++ b/graphics/GraphicCommons.py	Fri Sep 09 17:19:35 2011 +0200
@@ -2883,6 +2883,12 @@
         # Popup the default menu
         self.Parent.PopupDefaultMenu()
     
+    # Refreshes the wire state according to move defined and handle selected
+    def ProcessDragging(self, movex, movey, event, scaling):
+        if self.Parent.GetDrawingMode() != FREEDRAWING_MODE and self.Parent.CurrentLanguage == "LD":
+            movex = movey = 0
+        return Graphic_Element.ProcessDragging(self, movex, movey, event, scaling)
+        
     # Refreshes the comment model
     def RefreshModel(self, move=True):
         self.Parent.RefreshCommentModel(self)