From f3306af9775387f46f052c4a7d3cd8d92e7bc189 Mon Sep 17 00:00:00 2001 From: Sean Budd Date: Wed, 21 Apr 2021 09:40:16 +1000 Subject: [PATCH] Move report formatting changes box to the correct parent (#12307) 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. --- source/gui/settingsDialogs.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/source/gui/settingsDialogs.py b/source/gui/settingsDialogs.py index 6c1345a4ce3..36c51cd7803 100644 --- a/source/gui/settingsDialogs.py +++ b/source/gui/settingsDialogs.py @@ -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