Viewer.py
changeset 54 6688829ce624
parent 53 4988262d03e3
child 56 7187e1c00975
--- a/Viewer.py	Sat Jul 21 01:20:00 2007 +0200
+++ b/Viewer.py	Sat Jul 21 01:47:04 2007 +0200
@@ -56,7 +56,7 @@
         values = eval(data)
         if values[1] in ["function", "functionBlock", "program"]:
             id = self.Parent.GetNewId()
-            block = FBD_Block(self.Parent, values[0], "", id)
+            block = FBD_Block(self.Parent, values[0], values[2], id)
             block.SetPosition(x, y)
             width, height = block.GetMinSize()
             block.SetSize(width, height)