mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
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 <em> tags.
This commit is contained in:
parent
251aa384a7
commit
86121ef3c2
@ -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("<em>" + self.buttonText(self.FinishButton) + "</em>").replace('&', '')
|
||||
t = unicode(self.finish_page.finish_text.text())
|
||||
if '%s' in t:
|
||||
self.finish_page.finish_text.setText(t%bt)
|
||||
|
Loading…
x
Reference in New Issue
Block a user