Important: Please read the Qt Code of Conduct -

QAbstractListModel updates one data and not other one in qml

  • Hi,
    I am using QAbstractListModel for displaying listview. I am passing id number and image path data. I have provision to change images for this id's. say I copy one id to another then this image will replace too.
    Whereas this not seen on the page, selecting current item or losing focus and coming back to focus shows update in image.
    Where am I going wrong?
    Thanks in advance

  • Lifetime Qt Champion


    Without your code it's pretty difficult to say.

    Are you properly signaling that a change happened ?

Log in to reply