Qml ListView removeRow transition never receives running == false signal
-
Hi,
I have a user interface with a Qml ListView from which I remove certain rows. I would like to know when the remove transition is finished in order to update other parts of my application. I explicitly would like to wait until the transition is done. My Model calls thebeginRemoveRows
, then removes the element from the container and callsendRemoveRows
. I assigned a customTransition
to theremove
property of the ListView. If the transition is running or not is observed by creating aConnections
object and implementing theonRunningChanged
function for that specific transition.
The problem is that the running state of the transition only changes totrue
, but never finishes by changing tofalse
. This is in case I add a row. There, everything is fine.Does anyonw know if the problem is more likely in the model implementation or in the Qml side?
Best regards
Andi