Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.5.0, 6.8
-
None
-
5bab8448f (dev), 3536eb32b (6.9), 78387c078 (6.8)
Description
See sample `main.cpp` below for more details.
If a tree model is laid out as follows:
topItem -> midItem -> bottomItem,
then after removing midItem and inserting it back as a child of topItem, `bottomItem ->model()` returns `nullptr` even though `bottomItem` is now in the model (as a child of `midItem`).