Skip to content

Commit

Permalink
Move report formatting changes box to the correct parent (#12307)
Browse files Browse the repository at this point in the history
In #12181, the setting "Report formatting changes after the cursor" in "Document Formatting" was incorrectly moved to the wrong parent, the static box grouping above it, making it invisible to the user. It was readable using NVDA but not graphically visible to the user. This has been corrected.
  • Loading branch information
seanbudd authored Apr 20, 2021
1 parent 37d66a5 commit f3306af
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions source/gui/settingsDialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2421,10 +2421,7 @@ def makeSettings(self, settingsSizer):
# Translators: This is the label for a checkbox in the
# document formatting settings panel.
detectFormatAfterCursorText = _("Report formatting chan&ges after the cursor (can cause a lag)")
self.detectFormatAfterCursorCheckBox = wx.CheckBox(
elementsGroupBox,
label=detectFormatAfterCursorText
)
self.detectFormatAfterCursorCheckBox = wx.CheckBox(self, label=detectFormatAfterCursorText)
self.bindHelpEvent(
"DocumentFormattingDetectFormatAfterCursor",
self.detectFormatAfterCursorCheckBox
Expand Down

0 comments on commit f3306af

Please sign in to comment.