Fix #1374337 [Cover generation settings / colors-tab settings are not saved](https://bugs.launchpad.net/calibre/+bug/1374337)

This commit is contained in:
Kovid Goyal 2014-09-26 14:18:17 +05:30
parent a9f5065301
commit db30fcdcc0

View File

@ -366,7 +366,7 @@ class CoverSettingsWidget(QWidget):
prefs[attr] = getattr(self, attr).value()
prefs['color_themes'] = self.custom_colors
prefs['disabled_styles'] = list(self.disabled_styles)
prefs['disabled_colors'] = list(self.disabled_colors)
prefs['disabled_color_themes'] = list(self.disabled_colors)
for x in ('title', 'subtitle', 'footer'):
x += '_template'
prefs[x] = getattr(self, x).text()