Improves performance when switching between browse and focus modes with braille enabled.
\r
value = None\r
\r
+ def _get_isPresentableFocusAncestor(self):\r
+ # Only fetch this the first time it is requested,\r
+ # as it is very slow due to getDialogText and the answer shouldn't change anyway.\r
+ self.isPresentableFocusAncestor = res = super(Dialog, self).isPresentableFocusAncestor\r
+ return res\r
+\r
class EditableText(editableText.EditableText, NVDAObject):\r
"""Provides scripts to report appropriately when moving the caret in editable text fields.\r
This does not handle selection changes.\r