mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
ba75141e4b
commit
01362f0200
@ -127,7 +127,7 @@ class InterfaceAction(QObject):
|
|||||||
|
|
||||||
def drop_event(self, event, mime_data):
|
def drop_event(self, event, mime_data):
|
||||||
''' 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 drop 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. You should not perform blocking/long operations in this
|
calibre UI. You should not perform blocking/long operations in this
|
||||||
function. Instead emit a signal or use QTimer.singleShot and return
|
function. Instead emit a signal or use QTimer.singleShot and return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user