title: QML property binding for repeater item
body: <p>How do property bindings work for repeater items? I am trying to use a property binding on an element generated by a repeater, but the binding doesn't work:</p>
  <pre><code>Rectangle
  {
     id: root
     property int currentLocation: 0
  
     Button {
          text: &quot;Change location&quot;
          onClicked: root.currentLocation = (root.currentLocation + 1) % 2
      }
  
      Repeater {
              id: locationlRepeater
              model: locationModel
              Item {
                  visible: root.currentLocation == model.location   // Why doesn't this update on button click?
                  Text {
                     id: locationText
                     text: &quot;Location: &quot; + model.location
                  }
              }
      }
   
      ListModel {
          id: locationModel
          ListElement {
              location: 0
              // etc.
          }
          ListElement {
              location: 1
              // etc.
          }
  }
  
  </code></pre>
  <p>Updated: using Qt 5.6.2</p>