aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/libpyside/pysideproperty.cpp
diff options
context:
space:
mode:
authorCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2020-03-25 11:45:21 +0100
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2020-03-25 13:39:11 +0100
commit502dfcf352b0094e2b1e8b495af1cdeb3e7874ed (patch)
tree5077ff833096f762abbe6348a581a7f8df249973 /sources/pyside2/libpyside/pysideproperty.cpp
parent308aba2154699596e3fd0973501213423462a80b (diff)
Invert QTreeWidgetItem clear function loop
When using clear on an item with children, we rely on the childCount() function so when children with only a parent and no local reference were inside, they ended up being removed, altering the behavior of the loop. Change-Id: I111a600cd2e805eeb7110082437e666f88ff65a5 Fixes: PYSIDE-1251 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside2/libpyside/pysideproperty.cpp')
0 files changed, 0 insertions, 0 deletions