From a5b162b1872fce3da2ef9518b074df2adbc2d5f3 Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Thu, 14 May 2015 22:28:10 -0500 Subject: [PATCH] Polish Fetch from Email, add auto-reject feature. --- calibre-plugin/dialogs.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/calibre-plugin/dialogs.py b/calibre-plugin/dialogs.py index b94758ae..40349580 100644 --- a/calibre-plugin/dialogs.py +++ b/calibre-plugin/dialogs.py @@ -354,7 +354,10 @@ class AddNewDialog(SizePersistedDialog): extrapayload=None): # rather than mutex in fff_plugin, just bail here if it's # already in use. - if self.isVisible(): return + if self.isVisible(): + if url_list_text: # add to open box. + self.url.setText( '\n'.join([self.get_urlstext(), url_list_text]) ) + return try: self.go_signal.disconnect()