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

QStandardItem::appendRow does not update model recursively

    XMLWordPrintable

Details

    • 5bab8448f (dev), 3536eb32b (6.9), 78387c078 (6.8)

    Description

      See sample `main.cpp` below for more details.

      If a tree model is laid out as follows:

      topItem
      -> midItem
       -> bottomItem,

      then after removing midItem and inserting it back as a child of topItem, `bottomItem ->model()` returns `nullptr` even though `bottomItem` is now in the model (as a child of `midItem`).

      Attachments

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

        Activity

          People

            chehrlic Christian Ehrlicher
            marcusle Marcus Leivo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes