mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Viewer: Fix a regression that broke using the delete key to delete highlights
This commit is contained in:
parent
e715c9e710
commit
389a44cc49
@ -592,7 +592,7 @@ class SelectionBar:
|
|||||||
if k is 'x':
|
if k is 'x':
|
||||||
self.cite()
|
self.cite()
|
||||||
return
|
return
|
||||||
if k is 'Delete':
|
if k is 'delete':
|
||||||
self.remove_highlight()
|
self.remove_highlight()
|
||||||
return
|
return
|
||||||
sc_name = shortcut_for_key_event(ev, self.view.keyboard_shortcut_map)
|
sc_name = shortcut_for_key_event(ev, self.view.keyboard_shortcut_map)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user