Bug on TextViewer fixed : FileMenu not refreshed when text modified
authorlaurent
Sat, 12 Dec 2009 20:38:41 +0100
changeset 485 d5ebb8eac934
parent 484 acef952101a5
child 486 0daecbcbfbf4
Bug on TextViewer fixed : FileMenu not refreshed when text modified
TextViewer.py
--- a/TextViewer.py	Sat Dec 12 20:37:35 2009 +0100
+++ b/TextViewer.py	Sat Dec 12 20:38:41 2009 +0100
@@ -269,12 +269,14 @@
         self.Controler.BufferProject()
         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):