Fixed bug PouInstancePanel not updated when drag'n dropping variable from extensions
--- a/editors/Viewer.py Fri Feb 22 00:28:42 2013 +0100
+++ b/editors/Viewer.py Sun Feb 24 00:28:49 2013 +0100
@@ -303,6 +303,7 @@
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, location, values[4])
self.ParentWindow.RefreshVariablePanel()
+ self.ParentWindow.ParentWindow.RefreshPouInstanceVariablesPanel()
self.ParentWindow.AddVariableBlock(x, y, scaling, var_class, var_name, var_type)
elif values[1] == "Global":
var_name = values[0]