mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2579 (Error when importing books by dragging onto the GUI)
This commit is contained in:
parent
b45a202c87
commit
640f059912
@ -726,7 +726,7 @@ class BooksView(TableView):
|
|||||||
paths = self.paths_from_event(event)
|
paths = self.paths_from_event(event)
|
||||||
event.setDropAction(Qt.CopyAction)
|
event.setDropAction(Qt.CopyAction)
|
||||||
event.accept()
|
event.accept()
|
||||||
self.emit(SIGNAL('files_dropped(PyQt_PyObject)'), paths, Qt.QueuedConnection)
|
self.emit(SIGNAL('files_dropped(PyQt_PyObject)'), paths)
|
||||||
|
|
||||||
|
|
||||||
def set_database(self, db):
|
def set_database(self, db):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user