mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
a31b82ddad
@ -491,7 +491,7 @@ class CreateCustomColumn(QDialog):
|
|||||||
self.bool_button_group.setFocusProxy(button)
|
self.bool_button_group.setFocusProxy(button)
|
||||||
|
|
||||||
def composite_show_in_comments_clicked(self, state):
|
def composite_show_in_comments_clicked(self, state):
|
||||||
if state == 2: # Qt.CheckState.Checked but passed as an int
|
if state == Qt.CheckState.Checked.value: # state is passed as an int
|
||||||
self.composite_sort_by.setEnabled(False)
|
self.composite_sort_by.setEnabled(False)
|
||||||
self.composite_sort_by_label.setEnabled(False)
|
self.composite_sort_by_label.setEnabled(False)
|
||||||
self.composite_make_category.setEnabled(False)
|
self.composite_make_category.setEnabled(False)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user