mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 04:14:58 +01:00
The copy shortcut should work when selection bar is visible
This commit is contained in:
parent
d69efedb2f
commit
6acd9c1989
1 changed files with 3 additions and 0 deletions
|
|
@ -471,6 +471,9 @@ def on_keydown(self, ev):
|
|||
if ev.key is 'Escape':
|
||||
self.clear_selection()
|
||||
return
|
||||
if ev.key and ev.key.toLowerCase() is 'c' and ev.ctrlKey:
|
||||
self.copy_to_clipboard()
|
||||
return
|
||||
sc_name = shortcut_for_key_event(ev, self.view.keyboard_shortcut_map)
|
||||
if sc_name is 'show_chrome':
|
||||
self.clear_selection()
|
||||
|
|
|
|||
Loading…
Reference in a new issue