interrupt current speech on temp disable speech

This commit is contained in:
chrys 2016-12-18 23:25:21 +01:00
parent 4737b828cd
commit 0e285c2615

View File

@ -21,6 +21,7 @@ class command():
self.env['runtime']['outputManager'].presentText("speech temporary disabled", soundIcon='SpeechOff', interrupt=True)
self.env['commandBuffer']['enableSpeechOnKeypress'] = True
self.env['runtime']['settingsManager'].setSetting('speech', 'enabled', str(not self.env['runtime']['settingsManager'].getSettingAsBool('speech', 'enabled')))
self.env['runtime']['outputManager'].interruptOutput()
def setCallback(self, callback):
pass