Fixed exception when forcing LD?contact.
--- 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: