mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
6a1e6b0701
commit
a31972e881
@ -105,7 +105,7 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
||||
[(_('System default'), 'system'), (_('Calibre style'),
|
||||
'calibre')])
|
||||
styles = set(map(unicode, QStyleFactory.keys()))
|
||||
if 'QtCurve' not in styles:
|
||||
if 'Calibre' not in styles:
|
||||
# Can happen in linux
|
||||
for x in ('opt', 'label'):
|
||||
getattr(self, x+'_widget_style').setVisible(False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user