Skip to content

Commit

Permalink
Report accessible events: disable this setting if using Windows relea…
Browse files Browse the repository at this point in the history
…ses earlier than Version 1709 (Fall Creators Update). Re nvaccess#10956.

As UIA notification event (part of IUIAutomation5) was introduced in Version 1709, disable this checkbox if using earlier releases.
  • Loading branch information
josephsl committed Sep 10, 2020
1 parent 8cb7fe2 commit 13923e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/gui/settingsDialogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1873,6 +1873,8 @@ def makeSettings(self, settingsSizer):
self.uiaNotificationCheckBox = sHelper.addItem(wx.CheckBox(self, label=uiaNotificationText))
self.bindHelpEvent("ObjectPresentationAccessibleEventNotifications", self.uiaNotificationCheckBox)
self.uiaNotificationCheckBox.SetValue(config.conf["presentation"]["reportUIANotifications"])
# #10956: UIA (accessible app event) notification event was introduced in Fall Creators Update.
self.uiaNotificationCheckBox.Enable(winVersion.isWin10(1709))

# Translators: This is the label for a checkbox in the
# object presentation settings panel.
Expand Down

0 comments on commit 13923e7

Please sign in to comment.