Details
Description
I'm trying to create a simple QTableView with one editable checkbox column.
I've used the tutorial of Robin Burchell (http://blog.rburchell.com/2010/02/pyside-tutorial-model-view-programming_22.html) as a base and converted it to a QTableView with a delegate to draw a textbox on the first column.
When i use the method "setItemDelegateForColumn" (line 250) the program breaks with segmentation fault ("Process finished with exit code 139"). If I use the method "setItemDelegate" instead it works fine.
To test my code I just converted the code to use pyQt instead (change imports on lines 9-10 and Slot on lines 225-274) and it works ok.
Code to reproduce the error attached.
Attachments
Issue Links
- is duplicated by
-
PYSIDE-226 setItemDelegateForColumn Crash
- Closed
-
PYSIDE-308 Py_Finalize() crashes if there is PySide.QtCore imported
- Closed