Merge the two methods in the shared class to save editor content

This commit is contained in:
Veronica Berglyd Olsen committed 2024-06-16 15:23:22 +02:00
1 parent e9e7fae40e
commit 7c33c949cb
5 files changed
+16 -23

No files matched your search

+1 -1
View File
@@ -327,7 +327,7 @@ class GuiManuscriptBuild(NDialog):
return False
# Make sure editor content is saved before we start
SHARED.saveDocument()
SHARED.saveEditor()
docBuild = NWBuildDocument(SHARED.project, self._build)
docBuild.queueAll()
+1 -1
View File
@@ -325,7 +325,7 @@ class GuiManuscript(NToolDialog):
start = time()
# Make sure editor content is saved before we start
SHARED.ensureEditorSaved(None)
SHARED.saveEditor()
docBuild = NWBuildDocument(SHARED.project, build)
docBuild.queueAll()