--- a/Viewer.py Wed Mar 30 17:52:07 2011 +0200
+++ b/Viewer.py Wed Mar 30 17:59:54 2011 +0200
@@ -283,6 +283,7 @@
var_type = LOCATIONDATATYPES.get(values[0][2], ["BOOL"])[0]
if not var_name.upper() in [name.upper() for name in self.ParentWindow.Controler.GetEditedElementVariables(tagname, self.ParentWindow.Debug)]:
self.ParentWindow.Controler.AddEditedElementPouVar(tagname, var_type, var_name, values[0], values[4])
+ self.ParentWindow.ParentWindow.RefreshVariablePanel(tagname)
self.ParentWindow.AddVariableBlock(x, y, scaling, var_class, var_name, var_type)
elif values[3] == tagname:
if values[1] == "Output":