mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
ccc2519d86
commit
ba75141e4b
@ -129,7 +129,9 @@ class InterfaceAction(QObject):
|
|||||||
''' This method should perform some useful action and return True
|
''' This method should perform some useful action and return True
|
||||||
iff this interface action is capable of handling the drag event. Do not
|
iff this interface action is capable of handling the drag event. Do not
|
||||||
call accept/ignore on the event, that will be taken care of by the
|
call accept/ignore on the event, that will be taken care of by the
|
||||||
calibre UI.'''
|
calibre UI. You should not perform blocking/long operations in this
|
||||||
|
function. Instead emit a signal or use QTimer.singleShot and return
|
||||||
|
quickly. See the builtin actions for examples.'''
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def do_genesis(self):
|
def do_genesis(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user