Handle quit shortcut in tts mode

This commit is contained in:
Kovid Goyal 2020-12-08 14:28:07 +05:30
parent 8e2c9b5927
commit ac18ccf474
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -191,6 +191,9 @@ class ReadAloud:
return
if sc_name is 'show_chrome':
self.hide()
elif sc_name is 'quit':
self.hide()
ui_operations.quit()
elif sc_name in ('up', 'down', 'pageup', 'pagedown', 'left', 'right'):
self.send_message('trigger-shortcut', name=sc_name)