From 2861f4be3627db37dc8ab4598ba80c86d83dc7ba Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Tue, 13 Oct 2020 20:16:06 +0200 Subject: [PATCH] Fix a bug in build tool for lower Qt versions --- nw/gui/build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nw/gui/build.py b/nw/gui/build.py index 37880cca..1a69b62e 100644 --- a/nw/gui/build.py +++ b/nw/gui/build.py @@ -1013,8 +1013,9 @@ class GuiBuildNovel(QDialog): """ self.saveODT.setEnabled(theState) self.savePDF.setEnabled(theState) - self.saveMD.setEnabled(theState) self.saveTXT.setEnabled(theState) + if self.mainConf.verQtValue >= 51400: + self.saveMD.setEnabled(theState) return def _saveSettings(self):