Clear the outline header between projects

This commit is contained in:
Veronica K. B. Olsen
2020-04-14 22:20:40 +02:00
parent 6a9ff4c46b
commit 5e90b1ff77
3 changed files with 17 additions and 5 deletions
+6
View File
@@ -38,6 +38,9 @@ class OptionState():
"""Load the options dictionary from the project settings file.
"""
if self.theProject.projMeta is None:
return False
stateFile = path.join(self.theProject.projMeta, nwFiles.OPTS_FILE)
theState = {}
@@ -60,6 +63,9 @@ class OptionState():
"""Save the options dictionary to the project settings file.
"""
if self.theProject.projMeta is None:
return False
stateFile = path.join(self.theProject.projMeta, nwFiles.OPTS_FILE)
logger.debug("Saving GUI options file")