author | Laurent Bessard |
Wed, 23 May 2012 10:48:40 +0200 | |
changeset 695 | 8848ffb7ae2a |
parent 694 | b7c1914034f9 |
child 696 | 8865c406f616 |
PLCOpenEditor.py | file | annotate | diff | comparison | revisions |
--- a/PLCOpenEditor.py Wed May 23 10:36:18 2012 +0200 +++ b/PLCOpenEditor.py Wed May 23 10:48:40 2012 +0200 @@ -956,6 +956,9 @@ notebooks[entry_name] = self.SaveTabLayout(notebook) self.Config.Write("notebooks", cPickle.dumps(notebooks)) + pane = self.AUIManager.GetPane(self.TabsOpened) + if pane.IsMaximized(): + self.AUIManager.RestorePane(pane) self.Config.Write("perspective", self.AUIManager.SavePerspective()) self.SaveProjectLayout()