From 3964715d56afabd80c1f7baf2576e80d0894d9cf Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 10 Jul 2014 09:21:14 +0530 Subject: [PATCH] ... --- src/calibre/gui2/tweak_book/boss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/tweak_book/boss.py b/src/calibre/gui2/tweak_book/boss.py index ddcd747b64..3a32a5a528 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -801,7 +801,7 @@ class Boss(QObject): if purl.scheme not in {'', 'file'}: open_url(QUrl(url)) else: - error_dialog(self, _('Not found'), _( + error_dialog(self.gui, _('Not found'), _( 'No file with the name %s was found in the book') % target, show=True) def saved_searches(self):