# HG changeset patch # User Laurent Bessard # Date 1339370732 -7200 # Node ID 2507f2736a3e6b0bb273914279d57cbf5069cb51 # Parent cf8f5749558d522410ee9e0e6e325db1cb3d3ec5 Fix bug editor toolbar wrong size after restoring perspective diff -r cf8f5749558d -r 2507f2736a3e PLCOpenEditor.py --- 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():