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

Multiple "when"-conditions for a State

$
0
0
Hi all. Say I have following states: State {     name: "red_state"     when: color === "red" }, State {     name: "blue_state"     when: color === "blue" }, State {     name: "circle_state"     when: shape === "circle" }, State {    name: "blue_circle_state"    when: color === "blue" && shape === "circle" } The “blue_circle_state” is never triggered, why is this? Is there a better way to have several conditions for a State?

Viewing all articles
Browse latest Browse all 4972

Trending Articles