Fixed exception when forcing LD?contact.
authorEdouqrd Tisserant <edouard.tisserant@gmail.com>
Sat, 26 Mar 2011 18:55:23 +0100
changeset 505 c5aec2269fb3
parent 504 f88e0ebd8fe4
child 506 553747b2e980
Fixed exception when forcing LD?contact.
graphics/GraphicCommons.py
--- a/graphics/GraphicCommons.py	Tue Feb 22 17:05:07 2011 +0100
+++ b/graphics/GraphicCommons.py	Sat Mar 26 18:55:23 2011 +0100
@@ -207,6 +207,9 @@
     def SetValue(self, value):
         self.Value = value
     
+    def GetValue(self):
+        return self.Value
+    
     def SetForced(self, forced):
         self.Forced = forced
     
@@ -1808,9 +1811,6 @@
                 block = self.StartConnected.GetParentBlock()
                 block.SpreadCurrent()
     
-    def GetValue(self):
-        return self.Value
-    
     # Unconnect the start and end points
     def Clean(self):
         if self.StartConnected: