Details
-
Bug
-
Resolution: Cannot Reproduce
-
Not Evaluated
-
None
-
1.0.8
-
None
-
Windows XP x64
Description
I can't test on another version than 1.0.7 but as I can't find anything on this bug I think that is applicable on the latest version.
The use of the function tableWidget create a crash of the application.
You can try this example :
example.py
from PySide import QtGui table = QtGui.QTableWidget() table.setRowCount(1) table.setColumnCount(1) item = QtGui.QTableWidgetItem("test") table.show() table.setItem(0,0, item) print item.tableWidget() print table # table.setItem(0,0, QtGui.QTableWidgetItem("test2")) # table.removeRow(0) qtapp.exec_()
The function return the good memory adress but if you try to use the table after calling item.tableWidget() your program close without exception.