From 943e085d376c94115498f8a750b8acb09b5b3e0a Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Sat, 30 Jan 2021 14:24:06 +0100 Subject: [PATCH] Fix a bug and some misleading labels in Preferences --- nw/gui/preferences.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nw/gui/preferences.py b/nw/gui/preferences.py index 231fbadc..14111445 100644 --- a/nw/gui/preferences.py +++ b/nw/gui/preferences.py @@ -491,7 +491,7 @@ class GuiPreferencesDocuments(QWidget): self.mainForm.addRow( "Disable maximum text width in \"Normal Mode\"", self.textFlowFixed, - "If disabled, minimum text width is defined by the margin." + "If disabled, text width is defined by the margins only." ) ## Focus Mode Footer @@ -505,7 +505,7 @@ class GuiPreferencesDocuments(QWidget): ## Justify Text self.textJustify = QSwitch() - self.textJustify.setChecked(self.mainConf.textFixedW) + self.textJustify.setChecked(self.mainConf.doJustify) self.mainForm.addRow( "Justify the text margins in editor and viewer", self.textJustify, @@ -687,7 +687,7 @@ class GuiPreferencesEditor(QWidget): self.mainForm.addRow( "Scroll past end of the document", self.scrollPastEnd, - "Allow scrolling until the last line is centred in the editor." + "Also improves trypewriter scrolling for short documents." ) ## Typewriter Scrolling