diff --git a/src/calibre/gui2/preferences/tweaks.py b/src/calibre/gui2/preferences/tweaks.py index 10056ccb7b..9928e6a892 100644 --- a/src/calibre/gui2/preferences/tweaks.py +++ b/src/calibre/gui2/preferences/tweaks.py @@ -111,7 +111,10 @@ def data(self, index, role): if role == Qt.ToolTipRole: tt = _('This tweak has it default value') if tweak.is_customized: - tt = _('This tweak has been customized') + tt = '
'+_('This tweak has been customized') + tt += '
'
+ for varn, val in tweak.custom_values.iteritems():
+ tt += '%s = %r\n\n'%(varn, val)
return tt
if role == Qt.UserRole:
return tweak