Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
1.2.x
-
None
-
1cea6192fa32fee29ae64cdc2bda1414e6a443bd
Description
Attached patch invalidates the wrapper for the invibleRootItem in the clear method. If this is not done, another C++ object may be created at the same address and then the QStandardItem wrapper returned for it.
Note that just setting the parent to None as is done for the other items leads to a segfault. Should the other items simply be invalidated?