Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

What's wrong with this MouseArea logic

$
0
0
My guess is the string representation of parent.color isn’t “blue”, causing your condition to always fail, even once you’ve set it to “blue”. Try using the HTML color code for blue (”#0000ff”) instead. Edit: As you mentioned, setting the value to “blue” works just fine (as would “green”), but printing the value after you set it should result in the HTML code, I believe.

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images