Fix a bug and some misleading labels in Preferences

This commit is contained in:
Veronica K. B. Olsen
2021-01-30 14:24:06 +01:00
parent 91701b484a
commit 943e085d37
+3 -3
View File
@@ -491,7 +491,7 @@ class GuiPreferencesDocuments(QWidget):
self.mainForm.addRow( self.mainForm.addRow(
"Disable maximum text width in \"Normal Mode\"", "Disable maximum text width in \"Normal Mode\"",
self.textFlowFixed, 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 ## Focus Mode Footer
@@ -505,7 +505,7 @@ class GuiPreferencesDocuments(QWidget):
## Justify Text ## Justify Text
self.textJustify = QSwitch() self.textJustify = QSwitch()
self.textJustify.setChecked(self.mainConf.textFixedW) self.textJustify.setChecked(self.mainConf.doJustify)
self.mainForm.addRow( self.mainForm.addRow(
"Justify the text margins in editor and viewer", "Justify the text margins in editor and viewer",
self.textJustify, self.textJustify,
@@ -687,7 +687,7 @@ class GuiPreferencesEditor(QWidget):
self.mainForm.addRow( self.mainForm.addRow(
"Scroll past end of the document", "Scroll past end of the document",
self.scrollPastEnd, self.scrollPastEnd,
"Allow scrolling until the last line is centred in the editor." "Also improves trypewriter scrolling for short documents."
) )
## Typewriter Scrolling ## Typewriter Scrolling