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

Binding doesn't restore when changing target

    XMLWordPrintable

Details

    • 3bb72d31fc18b031bc823d80fec91ee3351d25a2

    Description

      When changing the target of a Binding, the old target binding is not restored.
      One would expect that if the Binding doesn't handle the old target anymore, it should restore it to how the target was before being handled (according to the restoreMode).

      Attached is a code example reproducing the issue. The commented code is a workaround by abusing Behavior to disable and reenable the Binding on target change.

      Attachments

        1. main.qml
          1.0 kB
          Pierre-Yves Siret

        Activity

          People

            ulherman Ulf Hermann
            grecko Pierre-Yves Siret
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: