mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #1374337 [Cover generation settings / colors-tab settings are not saved](https://bugs.launchpad.net/calibre/+bug/1374337)
This commit is contained in:
parent
a9f5065301
commit
db30fcdcc0
@ -366,7 +366,7 @@ class CoverSettingsWidget(QWidget):
|
|||||||
prefs[attr] = getattr(self, attr).value()
|
prefs[attr] = getattr(self, attr).value()
|
||||||
prefs['color_themes'] = self.custom_colors
|
prefs['color_themes'] = self.custom_colors
|
||||||
prefs['disabled_styles'] = list(self.disabled_styles)
|
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'):
|
for x in ('title', 'subtitle', 'footer'):
|
||||||
x += '_template'
|
x += '_template'
|
||||||
prefs[x] = getattr(self, x).text()
|
prefs[x] = getattr(self, x).text()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user