[Nvda-dev] commit r2478 - in trunk: . source/virtualBuffers

NVDA Subversion svn at nvda-project.org
Thu Nov 6 01:57:46 UTC 2008


Author: bzr
Date: Thu Nov  6 01:57:45 2008
New Revision: 2478

Log:
virtual buffers: Radio buttons should automatically enable focus mode when focused.

Modified:
   trunk/   (props changed)
   trunk/source/virtualBuffers/__init__.py

Modified: trunk/source/virtualBuffers/__init__.py
==============================================================================
--- trunk/source/virtualBuffers/__init__.py	(original)
+++ trunk/source/virtualBuffers/__init__.py	Thu Nov  6 01:57:45 2008
@@ -374,7 +374,7 @@
 			return False
 		if reason == speech.REASON_CARET:
 			return role == controlTypes.ROLE_EDITABLETEXT
-		if reason == speech.REASON_FOCUS and role == controlTypes.ROLE_LISTITEM:
+		if reason == speech.REASON_FOCUS and role in (controlTypes.ROLE_LISTITEM, controlTypes.ROLE_RADIOBUTTON):
 			return True
 		if role in (controlTypes.ROLE_COMBOBOX,controlTypes.ROLE_EDITABLETEXT,controlTypes.ROLE_LIST,controlTypes.ROLE_SLIDER) or controlTypes.STATE_EDITABLE in states:
 			return True



More information about the Nvda-dev mailing list