View Single Post
Old 04-22-2022, 07:02 AM   #190
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,529
Karma: 8075938
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
To all who maintain kiwidude-based plugins: There is a problem in common_utils.CheckableTableWidgetItem(). The line
Code:
        self.setFlags(Qt.ItemFlags(Qt.ItemIsSelectable | Qt.ItemIsUserCheckable | Qt.ItemIsEnabled ))
should be
Code:
        self.setFlags(Qt.ItemFlag(Qt.ItemIsSelectable | Qt.ItemIsUserCheckable | Qt.ItemIsEnabled ))
Qt.ItemFlags is changed to Qt.ItemFlag

Without the change and assuming you use that widget, you will get the error
Code:
AttributeError: type object 'Qt' has no attribute 'ItemFlags'
EDIT: The change worked on both the beta and 5.41.

Last edited by chaley; 04-22-2022 at 09:51 AM.
chaley is offline   Reply With Quote