8000 Fix checkboxes for Pyside 6.3.1 by firai · Pull Request #1083 · winpython/winpython · GitHub
[go: up one dir, main page]

Skip to content

Fix checkboxes for Pyside 6.3.1 #1083

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Simplify casts
  • Loading branch information
firai authored Jul 4, 2022
commit 8e1a964089349b58bd3b518d0b56528c4f380459
2 changes: 1 addition & 1 deletion winpython/controlpanel.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def data(self, index, role=Qt.DisplayRole):
package = self.packages[index.row()]
column = index.column()
if role == Qt.CheckStateRole and column == CHECK:
return int(to_qvariant(package in self.checked))
return int(package in self.checked)
elif role == Qt.DisplayRole:
if column == NAME:
return to_qvariant(package.name)
Expand Down
0