mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Add a signal to track enter key presses used by the action chains plugin
This commit is contained in:
parent
3cb3668ea8
commit
3b77377b54
@ -71,6 +71,7 @@ def handle_enter_press(self, ev, special_action=None, has_edit_cell=True):
|
||||
if special_action is not None:
|
||||
special_action(self.currentIndex())
|
||||
gui.iactions['View'].view_triggered(self.currentIndex())
|
||||
gui.enter_key_pressed_in_book_list.emit(self)
|
||||
return True
|
||||
|
||||
|
||||
|
@ -109,6 +109,7 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
||||
|
||||
proceed_requested = pyqtSignal(object, object)
|
||||
book_converted = pyqtSignal(object, object)
|
||||
enter_key_pressed_in_book_list = pyqtSignal(object) # used by action chains plugin
|
||||
shutting_down = False
|
||||
|
||||
def __init__(self, opts, parent=None, gui_debug=None):
|
||||
|
Loading…
x
Reference in New Issue
Block a user