--- a/editors/ProjectNodeEditor.py Mon Feb 19 13:24:57 2018 +0100
+++ b/editors/ProjectNodeEditor.py Mon Feb 19 15:14:30 2018 +0100
@@ -28,6 +28,7 @@
from controls import ProjectPropertiesPanel, VariablePanel
from editors.ConfTreeNodeEditor import ConfTreeNodeEditor
+from plcopen.types_enums import ComputeConfigurationName
class ProjectNodeEditor(ConfTreeNodeEditor):
@@ -50,9 +51,9 @@
return self.ProjectProperties
def __init__(self, parent, controler, window):
- configuration = controler.GetProjectMainConfigurationName()
+ configuration = GetProjectMainConfigurationName()
if configuration is not None:
- tagname = controler.ComputeConfigurationName(configuration)
+ tagname = ComputeConfigurationName(configuration)
else:
tagname = ""