mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-21 01:34:27 +02: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
1 changed files with 1 additions and 1 deletions
|
|
@ -359,7 +359,7 @@ def initialize(self, library_path, db, listener, actions, show_gui=True):
|
|||
'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…
Reference in a new issue