8000 Merge pull request #1083 from firai/checkbox_patch · winpython/winpython@1c1f66e · GitHub
[go: up one dir, main page]

Skip to content

Commit 1c1f66e

Browse files
authored
Merge pull request #1083 from firai/checkbox_patch
Fix checkboxes for Pyside 6.3.1
2 parents 95be619 + 8e1a964 commit 1c1f66e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

winpython/controlpanel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def data(self, index, role=Qt.DisplayRole):
115115
package = self.packages[index.row()]
116116
column = index.column()
117117
if role == Qt.CheckStateRole and column == CHECK:
118-
return to_qvariant(package in self.checked)
118+
return int(package in self.checked)
119119
elif role == Qt.DisplayRole:
120120
if column == NAME:
121121
return to_qvariant(package.name)

0 commit comments

Comments
 (0)
0