Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-16366

PathView/VisualDataModel - currentItem is not updated when the rootIndex changes

    XMLWordPrintable

Details

    • db8462b107ad3dbf13c1eed43588fb1d9420f4ad

    Description

      In the attached code, click on the delegate to change the root index. Notice that the currentItem does not get updated. If you move the delegate item (which was not updated), outside the PathView and bring it back inside, it gets updated. This is most likely because the delegate gets destroyed and recreated.

      Attachments

        1. main.cpp
          0.8 kB
        2. PosterView.qml
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            martjone Martin Jones (closed Nokia identity) (Inactive)
            girish Girish Ramakrishnan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes