mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-14 08:54:34 +12:00
Fix issue with saving outline item
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
parent
5276ee81f1
commit
7d01b7a403
|
@ -94,8 +94,8 @@ class OutlineItem(AbstractData):
|
||||||
metadata["summaryFull"] = item.summaryFull
|
metadata["summaryFull"] = item.summaryFull
|
||||||
metadata["POV"] = item.POV
|
metadata["POV"] = item.POV
|
||||||
metadata["notes"] = item.notes
|
metadata["notes"] = item.notes
|
||||||
metadata["label"] = None if item is None else item.label.ID
|
metadata["label"] = None if item.label is None else item.label.ID
|
||||||
metadata["status"] = None if item is None else item.status.ID
|
metadata["status"] = None if item.status is None else item.status.ID
|
||||||
metadata["compile"] = item.compile
|
metadata["compile"] = item.compile
|
||||||
metadata["setGoal"] = item.goal
|
metadata["setGoal"] = item.goal
|
||||||
|
|
||||||
|
|
|
@ -188,6 +188,7 @@ class StartupWindow(AbstractDialog):
|
||||||
return
|
return
|
||||||
|
|
||||||
project = Project(path)
|
project = Project(path)
|
||||||
|
# TODO: apply project template!
|
||||||
project.save()
|
project.save()
|
||||||
|
|
||||||
self.mainWindow.openProject(path)
|
self.mainWindow.openProject(path)
|
||||||
|
|
Loading…
Reference in a new issue