Skip to content

Commit

Permalink
Restore advanced settings layout. (#12223)
Browse files Browse the repository at this point in the history
The new option introduced by #12210 was not located in the "Microsoft UI Automation" option group as it should.
Probably due to missed changes during upmerge of master.

It is now Put in this group as intended by using The static box of the sizer as parent for the checkbox rather than the whole panel.
  • Loading branch information
CyrilleB79 authored Mar 25, 2021
1 parent ff79f51 commit d90b24e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/gui/settingsDialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -2578,7 +2578,7 @@ def __init__(self, parent):
# Translators: This is the label for a checkbox in the
# Advanced settings panel.
label = _("Use UI Automation to access Microsoft &Excel spreadsheet controls when available")
self.UIAInMSExcelCheckBox = UIAGroup.addItem(wx.CheckBox(self, label=label))
self.UIAInMSExcelCheckBox = UIAGroup.addItem(wx.CheckBox(UIABox, label=label))
self.bindHelpEvent("UseUiaForExcel", self.UIAInMSExcelCheckBox)
self.UIAInMSExcelCheckBox.SetValue(config.conf["UIA"]["useInMSExcelWhenAvailable"])
self.UIAInMSExcelCheckBox.defaultValue = self._getDefaultValue(["UIA", "useInMSExcelWhenAvailable"])
Expand Down

0 comments on commit d90b24e

Please sign in to comment.