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

QTreeWidget: Expanded state not remembered when moving items

    XMLWordPrintable

Details

    Description

      When moving a sub-tree (which is partially expanded and partially not) by takeItem() an insertItem(), the entire sub-tree is collapsed after the operation.

      Solution would be either to store expanded state in QTreeWidgetItem or to add to QTreeWidget method like moveItem(). First is better because it would work when moving sub tree from one QTreeWidget instance into another.

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              jkobus Jarek Kobus
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes