title: QML Keys.onPressed issue
body: <p>I have a problem : when I change the property of an Item in Keys.onPressed, the property isn't updated on the graphic side, here is my code:</p>
  
  <pre><code>Rectangle {
      id: rect
  
      focus:true
      visible: true
      width: 1440
      height: 900
  
  
      Keys.onPressed: {
  
  
          if (event.key == 65){
              rect.color="#88ff88"
              console.log("key pressed")
          }
  
  
      }
  
  
  
  }
  </code></pre>
  
  <p>I get the log on the console, but the color of the rectangle stays white. Do you know why?</p>