Changeset 2337

Show
Ignore:
Timestamp:
08/05/08 21:14:51 (4 months ago)
Author:
pvagner
Message:

* fixed a problem where NVDA was unable to anounce heading levels. This was introduced in r2335.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/speech.py

    r2335 r2337  
    723723                levelNo=propertyValues['level'] 
    724724                del propertyValues['level'] 
    725                 if levelNo is not None and reason not in (REASON_SAYALL,REASON_CARET,REASON_FOCUS) or (role and role not in userDisabledRoles): 
     725                if levelNo is not None or reason not in (REASON_SAYALL,REASON_CARET,REASON_FOCUS) or (role and role not in userDisabledRoles): 
    726726                        textList.append(_("level %s")%levelNo) 
    727727        for name,value in propertyValues.items():