OSDN Git Service
(root)
/
nvdajp
/
nvdajp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c09bb66
)
Only automatically report all candidates in a candidate list if the candidate list...
author
Michael Curran
<mick@kulgan.net>
Mon, 17 Sep 2012 14:22:23 +0000
(
00:22
+1000)
committer
Michael Curran
<mick@kulgan.net>
Mon, 17 Sep 2012 14:22:23 +0000
(
00:22
+1000)
source/NVDAObjects/behaviors.py
patch
|
blob
|
history
diff --git
a/source/NVDAObjects/behaviors.py
b/source/NVDAObjects/behaviors.py
index
c7593b1
..
f4f4816
100755
(executable)
--- a/
source/NVDAObjects/behaviors.py
+++ b/
source/NVDAObjects/behaviors.py
@@
-381,7
+381,8
@@
class CandidateItem(NVDAObject):
while obj and isinstance(obj,CandidateItem) and controlTypes.STATE_INVISIBLE not in obj.states:
\r
textList.append(obj.name)
\r
obj=obj.next
\r
- self.visibleCandidateItemsText=", ".join(textList)
\r
+ if len(textList)<=1: return None
\r
+ self.visibleCandidateItemsText=(u", ".join(textList))+u", "
\r
return self.visibleCandidateItemsText
\r
\r
class RowWithFakeNavigation(NVDAObject):
\r