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

TreeView incorrect index after moving rows

    XMLWordPrintable

Details

    Description

      styleData.index is not updated after moving rows.

      Replicate this in the included example by moving "Fifth>Eloise" to "Second>Brice" and notice the console output.
      Clicking on the item will also report information about its parent via the styleData.

      Attachments

        1. TreeViewMoveBug.zip
          18 kB
        2. TreeViewMoveBug.zip
          17 kB
        3. TreeViewMoveBug.zip
          18 kB
        4. TreeViewMoveBug.zip
          18 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              mitch_curtis Mitch Curtis
              xcdix Konstantin
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes