From 480a03b0c44e3e4403121b6339d31f00b8a6f8fe Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Wed, 27 May 2020 18:13:50 +0200 Subject: [PATCH 1/2] QActin must have a parent set for Qt < 5.7 --- nw/gui/build.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/nw/gui/build.py b/nw/gui/build.py index 535ab1ae..4571a8e1 100644 --- a/nw/gui/build.py +++ b/nw/gui/build.py @@ -254,28 +254,28 @@ class GuiBuildNovel(QDialog): self.saveMenu = QMenu(self) self.btnSave.setMenu(self.saveMenu) - self.saveODT = QAction("Open Document (.odt)") + self.saveODT = QAction("Open Document (.odt)", self) self.saveODT.triggered.connect(lambda: self._saveDocument(self.FMT_ODT)) self.saveMenu.addAction(self.saveODT) - self.savePDF = QAction("Portable Document Format (.pdf)") + self.savePDF = QAction("Portable Document Format (.pdf)", self) self.savePDF.triggered.connect(lambda: self._saveDocument(self.FMT_PDF)) self.saveMenu.addAction(self.savePDF) - self.saveHTM = QAction("%s HTML (.htm)" % nw.__package__) + self.saveHTM = QAction("%s HTML (.htm)" % nw.__package__, self) self.saveHTM.triggered.connect(lambda: self._saveDocument(self.FMT_HTM)) self.saveMenu.addAction(self.saveHTM) if self.mainConf.verQtValue >= 51400: - self.saveMD = QAction("Markdown (.md)") + self.saveMD = QAction("Markdown (.md)", self) self.saveMD.triggered.connect(lambda: self._saveDocument(self.FMT_MD)) self.saveMenu.addAction(self.saveMD) - self.saveNWD = QAction("novelWriter Markdown (.nwd)") + self.saveNWD = QAction("novelWriter Markdown (.nwd)", self) self.saveNWD.triggered.connect(lambda: self._saveDocument(self.FMT_NWD)) self.saveMenu.addAction(self.saveNWD) - self.saveTXT = QAction("Plain Text (.txt)") + self.saveTXT = QAction("Plain Text (.txt)", self) self.saveTXT.triggered.connect(lambda: self._saveDocument(self.FMT_TXT)) self.saveMenu.addAction(self.saveTXT) From fd886597bf66d27e8103014a37d89e858dddbf2a Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Wed, 27 May 2020 18:21:46 +0200 Subject: [PATCH 2/2] Updated changelog --- CHANGELOG.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index acd117f2..8d096f86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,13 +2,16 @@ ## Not Yet Released +**Bugfixes** + +* Fixed an issue with the Build Novel Project tool on Ubuntu 16.04 LTS where the dialog wouldn't open. PR #246. + **User Interface** * Renamed the "Generate Preview" button on the "Build Novel Project" tool to "Build Novel Project". You must actually click this to be able to export or print. Issue #237, PR #238. * Added font family and font size selectors to the "Build Novel Project" tool. You may want a different print font than used in the editor itself. Issue #230, PR #238. * A margin of the viewport (outside the document) has been added to the document editor and viewer to make room for the document title bar. Previously, the title bar would sit on top of the document top margin, which would sometimes hide text that would otherwise be visible. PR #236. - ## Version 0.6.1 [2020-05-25] **Bugfixes**