From 86121ef3c2f16fd1b659fef655111f46aa4ced4d Mon Sep 17 00:00:00 2001 From: Christian Gonzalez Date: Mon, 7 Jul 2014 17:40:18 +0200 Subject: [PATCH] Add em tags around button title to distinguish the button title better from the rest of the text, there should be something around it like tags. --- src/calibre/gui2/wizard/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/wizard/__init__.py b/src/calibre/gui2/wizard/__init__.py index 14503ad15d..b62aec5fdd 100644 --- a/src/calibre/gui2/wizard/__init__.py +++ b/src/calibre/gui2/wizard/__init__.py @@ -930,7 +930,7 @@ class Wizard(QWizard): return QWizard.accept(self) def set_finish_text(self, *args): - bt = unicode(self.buttonText(self.FinishButton)).replace('&', '') + bt = unicode("" + self.buttonText(self.FinishButton) + "").replace('&', '') t = unicode(self.finish_page.finish_text.text()) if '%s' in t: self.finish_page.finish_text.setText(t%bt)