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

Property binding is not updated with an empty array

    XMLWordPrintable

Details

    • All

    Description

      The idea is that both, the property and getter, should give me the same value. This does not work

      property var selectedTimeline: timeline.sectionsList[root.selectedTimelineIndex]
      function getSelectedTimeline()
      { return timeline.sectionsList[root.selectedTimelineIndex] }
      

       
      1. Click Add
      2. Click Add
      3. Click Print: Prints index for getSelectedTimeline() and Error for selectedTimeline
      4. Change the Index to 1
      5. Click Print: Prints both index

      Attachments

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

        Activity

          People

            qtqmlteam Qt Qml Team User
            kelteseth Elias Steurer
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes