From 8a36b10085aa7bf3c1b3ed5f916be3a98592bd67 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 3 Dec 2013 13:15:46 +0530 Subject: [PATCH] ... --- src/calibre/gui2/tweak_book/boss.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calibre/gui2/tweak_book/boss.py b/src/calibre/gui2/tweak_book/boss.py index 616edf546a..9542ceb7ae 100644 --- a/src/calibre/gui2/tweak_book/boss.py +++ b/src/calibre/gui2/tweak_book/boss.py @@ -504,6 +504,8 @@ class Boss(QObject): def no_replace(prefix=''): QApplication.restoreOverrideCursor() + if prefix: + prefix += ' ' error_dialog( self.gui, _('Cannot replace'), prefix + _( 'You must first click Find, before trying to replace'), show=True)