--- a/DataTypeEditor.py Wed Dec 16 13:37:09 2009 +0100
+++ b/DataTypeEditor.py Wed Dec 16 14:22:57 2009 +0100
@@ -917,6 +917,7 @@
infos["initial"] = ""
self.Controler.SetDataTypeInfos(self.TagName, infos)
self.ParentWindow.RefreshTitle()
+ self.ParentWindow.RefreshFileMenu()
self.ParentWindow.RefreshEditMenu()
#-------------------------------------------------------------------------------
--- a/RessourceEditor.py Wed Dec 16 13:37:09 2009 +0100
+++ b/RessourceEditor.py Wed Dec 16 14:22:57 2009 +0100
@@ -496,6 +496,7 @@
def RefreshBuffer(self):
self.Controler.BufferProject()
self.ParentWindow.RefreshTitle()
+ self.ParentWindow.RefreshFileMenu()
self.ParentWindow.RefreshEditMenu()
def RefreshView(self):
--- a/VariablePanel.py Wed Dec 16 13:37:09 2009 +0100
+++ b/VariablePanel.py Wed Dec 16 14:22:57 2009 +0100
@@ -629,7 +629,7 @@
self.Controler.SetPouInterfaceReturnType(words[1], self.ReturnType.GetStringSelection())
self.Controler.BufferProject()
self.ParentWindow.RefreshEditor(variablepanel = False)
- self.ParentWindow._Refresh(TITLE, EDITMENU, INSTANCESTREE, LIBRARYTREE)
+ self.ParentWindow._Refresh(TITLE, FILEMENU, EDITMENU, INSTANCESTREE, LIBRARYTREE)
event.Skip()
def OnClassFilter(self, event):
@@ -803,7 +803,7 @@
self.SaveValues(False)
self.ParentWindow.RefreshEditor(variablepanel = False)
self.Controler.BufferProject()
- self.ParentWindow._Refresh(TITLE, EDITMENU, INSTANCESTREE, LIBRARYTREE)
+ self.ParentWindow._Refresh(TITLE, FILEMENU, EDITMENU, INSTANCESTREE, LIBRARYTREE)
return VariableTypeFunction
def OnVariablesGridCellLeftClick(self, event):
@@ -869,7 +869,7 @@
self.Controler.SetPouInterfaceVars(words[1], self.Values)
if buffer:
self.Controler.BufferProject()
- self.ParentWindow._Refresh(TITLE, EDITMENU, INSTANCESTREE, LIBRARYTREE)
+ self.ParentWindow._Refresh(TITLE, FILEMENU, EDITMENU, INSTANCESTREE, LIBRARYTREE)
def AddVariableError(self, infos):
if isinstance(infos[0], TupleType):