Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Possible bug in Qt 5.2.1 about QTreeView checkstate
sanqiang last edited by
I developed my app with PyQt 5.1.1 and Python 3.3. Recently I changed a new desktop, so I installed the newer PyQt 5.2.1. My app has a QTreeView with checkboxes. When an empty box is check, the values sent to the setData function in the model is Qt::PartiallyChecked(value 1) instead of Qt::Checked(value 2). Is this a bug or a change?