Viewer: Fix a regression that broke using the delete key to delete highlights

This commit is contained in:
Kovid Goyal 2021-04-17 15:03:36 +05:30
parent e715c9e710
commit 389a44cc49
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -592,7 +592,7 @@ class SelectionBar:
if k is 'x':
self.cite()
return
if k is 'Delete':
if k is 'delete':
self.remove_highlight()
return
sc_name = shortcut_for_key_event(ev, self.view.keyboard_shortcut_map)