mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
The copy shortcut should work when selection bar is visible
This commit is contained in:
parent
d69efedb2f
commit
6acd9c1989
@ -471,6 +471,9 @@ class SelectionBar:
|
||||
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…
x
Reference in New Issue
Block a user