--- a/ConfigTreeNode.py Mon Jul 02 12:00:10 2012 +0200
+++ b/ConfigTreeNode.py Mon Jul 02 16:02:38 2012 +0200
@@ -413,7 +413,9 @@
self._View = self.EditorType(app_frame.TabsOpened, self, app_frame)
if self._View is not None:
- app_frame.EditProjectElement(self._View, self.CTNFullName())
+ if name is None:
+ name = self.CTNFullName()
+ app_frame.EditProjectElement(self._View, name)
return self._View
return None
--- a/ProjectController.py Mon Jul 02 12:00:10 2012 +0200
+++ b/ProjectController.py Mon Jul 02 16:02:38 2012 +0200
@@ -1025,7 +1025,7 @@
return self._FileEditors[name]
else:
- return ConfigTreeNode._OpenView(self, name, onlyopened)
+ return ConfigTreeNode._OpenView(self, self.CTNName(), onlyopened)
def OnCloseEditor(self, view):
ConfigTreeNode.OnCloseEditor(self, view)