--- a/controls/PouInstanceVariablesPanel.py Wed Dec 19 13:29:38 2012 +0100
+++ b/controls/PouInstanceVariablesPanel.py Wed Dec 19 13:32:04 2012 +0100
@@ -106,6 +106,10 @@
def SetPouType(self, tagname, pou_instance=None):
self.PouTagName = tagname
+ if self.PouTagName == "Project":
+ config_name = self.Controller.GetProjectMainConfigurationName()
+ if config_name is not None:
+ self.PouTagName = self.Controller.ComputeConfigurationName(config_name)
if pou_instance is not None:
self.PouInstance = pou_instance