PLCOpenEditor.py
changeset 709 2507f2736a3e
parent 708 cf8f5749558d
child 711 5f6a743dcde5
--- a/PLCOpenEditor.py	Sun Jun 10 20:21:07 2012 +0200
+++ b/PLCOpenEditor.py	Mon Jun 11 01:25:32 2012 +0200
@@ -898,6 +898,8 @@
                                          (self.RightNoteBook, "rightnotebook")]:
                 self.LoadTabLayout(notebook, notebooks.get(entry_name))
     
+            self._Refresh(EDITORTOOLBAR)
+    
     def RestoreLastState(self):
         frame_size = None
         if self.Config.HasEntry("framesize"):
@@ -939,6 +941,8 @@
             self.ResetPerspective()
         
         self.LoadProjectLayout()
+        
+        self._Refresh(EDITORTOOLBAR)
     
     def SaveLastState(self):
         if not self.IsMaximized():