Bug in CFileEditor calling refresh of not used FileMenu fixed
authorlaurent
Sun, 27 Mar 2011 15:57:05 +0200
changeset 585 58977fe8b3b0
parent 582 bb5d0367bf32
child 586 720a0d30b678
Bug in CFileEditor calling refresh of not used FileMenu fixed
plugins/c_ext/CFileEditor.py
--- a/plugins/c_ext/CFileEditor.py	Fri Mar 25 17:43:40 2011 +0100
+++ b/plugins/c_ext/CFileEditor.py	Sun Mar 27 15:57:05 2011 +0200
@@ -227,14 +227,12 @@
         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):
@@ -690,7 +688,6 @@
     def RefreshBuffer(self):
         self.Controler.BufferCFile()
         self.ParentWindow.RefreshTitle()
-        self.ParentWindow.RefreshFileMenu()
         self.ParentWindow.RefreshEditMenu()
 
     def RefreshView(self):