Restore RefreshFileMenu in CFileEditor
authorEdouard Tisserant
Mon, 28 Mar 2011 11:42:00 +0200
changeset 587 c6354f7fe26e
parent 586 720a0d30b678
child 588 aa5a08d20ba1
Restore RefreshFileMenu in CFileEditor
plugins/c_ext/CFileEditor.py
--- a/plugins/c_ext/CFileEditor.py	Sun Mar 27 16:16:55 2011 +0200
+++ b/plugins/c_ext/CFileEditor.py	Mon Mar 28 11:42:00 2011 +0200
@@ -227,12 +227,14 @@
         self.Controler.BufferCFile()
         if self.ParentWindow:
             self.ParentWindow.RefreshTitle()
+            self.ParentWindow.RefreshFileMenu()
             self.ParentWindow.RefreshEditMenu()
     
     def StartBuffering(self):
         self.Controler.StartBuffering()
         if self.ParentWindow:
             self.ParentWindow.RefreshTitle()
+            self.ParentWindow.RefreshFileMenu()
             self.ParentWindow.RefreshEditMenu()
     
     def ResetBuffer(self):
@@ -688,6 +690,7 @@
     def RefreshBuffer(self):
         self.Controler.BufferCFile()
         self.ParentWindow.RefreshTitle()
+        self.ParentWindow.RefreshFileMenu()
         self.ParentWindow.RefreshEditMenu()
 
     def RefreshView(self):