mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Yet another checkState() fix
This commit is contained in:
parent
3f4c4b318a
commit
d4cb45585f
@ -455,7 +455,7 @@ class CheckLibraryDialog(QDialog):
|
||||
attr = check[0]
|
||||
fixable = check[3]
|
||||
tl = self.top_level_items[attr]
|
||||
if fixable and tl.checkState(1):
|
||||
if fixable and tl.checkState(1) == Qt.CheckState.Checked:
|
||||
func = getattr(self, 'fix_' + attr, None)
|
||||
if func is not None and callable(func):
|
||||
func()
|
||||
|
Loading…
x
Reference in New Issue
Block a user