From a193e80f8857c7ec1a33fe649f455a359dfaa69c Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Mon, 18 Mar 2013 17:55:48 -0500 Subject: [PATCH] Fix drag and drop after hide/show. --- calibre-plugin/dialogs.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/calibre-plugin/dialogs.py b/calibre-plugin/dialogs.py index a10cc06..f90697e 100644 --- a/calibre-plugin/dialogs.py +++ b/calibre-plugin/dialogs.py @@ -259,6 +259,9 @@ class AddNewDialog(SizePersistedDialog): self.url.setToolTip('URLs for stories, one per line.\nWill take URLs from clipboard, but only valid URLs.\nAdd [1,5] after the URL to limit the download to chapters 1-5.') self.collisionlabel.setText('If Story Already Exists?') self.collision.setToolTip("What to do if there's already an existing story with the same URL or title and author.") + + # Need to re-able after hiding/showing + self.setAcceptDrops(True) if self.prefs['adddialogstaysontop']: QDialog.setWindowFlags ( self, Qt.Dialog | Qt.WindowStaysOnTopHint )