Fix #1632746 [Template function reference links not working](https://bugs.launchpad.net/calibre/+bug/1632746)

This commit is contained in:
Kovid Goyal 2016-10-12 21:03:38 +05:30
parent cf747d617b
commit 42b0acbfa3

View File

@ -340,7 +340,7 @@ class TemplateDialog(QDialog, Ui_TemplateDialog):
tt = _('Template function reference') tt = _('Template function reference')
self.template_func_reference.setText( self.template_func_reference.setText(
'<a href="%s">%s</a>' % ( '<a href="%s">%s</a>' % (
localize_user_manual_link('https://manual.calibre-ebook.com/template_ref.html'), tt)) localize_user_manual_link('https://manual.calibre-ebook.com/generated/en/template_ref.html'), tt))
self.font_size_box.setValue(gprefs['gpm_template_editor_font_size']) self.font_size_box.setValue(gprefs['gpm_template_editor_font_size'])
self.font_size_box.valueChanged.connect(self.font_size_changed) self.font_size_box.valueChanged.connect(self.font_size_changed)