author | Laurent Bessard |
Mon, 11 Mar 2013 14:04:48 +0100 | |
changeset 973 | 211e78636b6b |
parent 970 | 0dd89c8eeef5 |
child 974 | 0d32a8748814 |
Beremiz.py | file | annotate | diff | comparison | revisions |
--- a/Beremiz.py Sun Mar 10 20:29:55 2013 +0100 +++ b/Beremiz.py Mon Mar 11 14:04:48 2013 +0100 @@ -878,7 +878,8 @@ self.RefreshConfigRecentProjects(projectpath) if self.EnableDebug: self.DebugVariablePanel.SetDataProducer(self.CTR) - self.LoadProjectLayout() + if self.EnableSaveProjectState(): + self.LoadProjectLayout() self._Refresh(PROJECTTREE, POUINSTANCEVARIABLESPANEL, LIBRARYTREE) else: self.ResetView()