View Single Post
Old 06-29-2022, 08:00 AM   #1197
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,203
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Attached here is a version to make the new restore sort work under PyQt6. I think also the changes below are needed for other parts of the plugin.

Qt.PartiallyChecked > Qt.CheckState.PartiallyChecked
Qt.Checked > Qt.CheckState.Checked
Qt.Unchecked > Qt.CheckState.Unchecked

For some reason, those did not work for me in the restore sort code. I have to resort to using the boolean isChecked() method instead.
Attached Files
File Type: zip Reading List.zip (116.6 KB, 150 views)

Last edited by capink; 06-29-2022 at 08:31 AM.
capink is offline   Reply With Quote