mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Handle quit shortcut in tts mode
This commit is contained in:
parent
8e2c9b5927
commit
ac18ccf474
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user