grab/ungrab on ignorescreen, stop speech

This commit is contained in:
chrys
2018-05-11 23:16:18 +02:00
parent 101004a5f9
commit eacb26f340
4 changed files with 44 additions and 12 deletions

View File

@@ -228,8 +228,11 @@ class outputManager():
offsetText = offsetText[offsetStart: offsetEnd]
return offsetText
def interruptOutput(self):
self.env['runtime']['speechDriver'].cancel()
self.env['runtime']['debug'].writeDebugOut("Interrupt speech",debug.debugLevel.INFO)
try:
self.env['runtime']['speechDriver'].cancel()
self.env['runtime']['debug'].writeDebugOut("Interrupt speech",debug.debugLevel.INFO)
except:
pass
def clearFlushTime(self):
self.setFlushTime(0.0)