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

setItem will re-construct the delegate

XMLWordPrintable

      please check the attached sample.

      the model data is filled in TestItemModel::createList, when the second row is created it will reset all delegates. 

      I understand if using QStandardItemModel like list should use appendRow rather than setItem

      but why does setItem cause all delegates to reset? is this the expected behaviour?

      call stack

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            jiu shanheng jiu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes