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

Binding doesn't restore when changing target

XMLWordPrintable

    • 3bb72d31fc18b031bc823d80fec91ee3351d25a2

      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.

        1. main.qml
          1.0 kB
          Pierre-Yves Siret
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes