mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-08-11 09:13:57 -04:00
Have the Esc shortcut perform exactly the same set of actions as clicking the clear button. Fixes #900048 ([Enhancement] Request keyboard shortcut for Reset Quick Search)
This commit is contained in:
parent
a78aa3e12a
commit
e45cd49796
@ -359,7 +359,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
||||
'log will be displayed automatically.')%self.gui_debug, show=True)
|
||||
|
||||
def esc(self, *args):
|
||||
self.search.clear()
|
||||
self.clear_button.click()
|
||||
|
||||
def start_content_server(self, check_started=True):
|
||||
from calibre.library.server.main import start_threaded_server
|
||||
|
Loading…
x
Reference in New Issue
Block a user