Skip to content

Commit 19d53e1

Browse files
committed
updated for upcoming NVDA 2021.1 and above
1 parent f014210 commit 19d53e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

appModules/winamp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def script_changeItem(self,gesture):
265265
gesture.send()
266266
if not isScriptWaiting():
267267
api.processPendingEvents()
268-
speech.speakObject(self,reason=controlTypes.REASON_FOCUS)
268+
speech.speakObject(self,reason=controlTypes.OutputReason.FOCUS)
269269

270270
def event_nameChange(self):
271271
return super(winampMainWindow,self).event_nameChange()

0 commit comments

Comments
 (0)