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

ListView.isCurrentItem not available until model is refreshed

    XMLWordPrintable

    Details

      Description

      Please refer to the attached sample that demonstrates that the "ListView.isCurrentItem" attached property is not available in a delegate of a DelegateModel until user presses a key to refresh the model.

      Setting model in component.onComplete of ListView solves this issue, but Binding of model with listview is broken and it won't work with a model coming from a property.

        Attachments

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

          Activity

            People

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            shmittal Shveta Mittal
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes