aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick1/qdeclarativestates/data/autoStateAtStartupRestoreBug.qml
blob: ccd126f6a71441c9200255b215b3262b72e4eed3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import QtQuick 1.0

Item {
    id: root
    property int input: 1
    property int test: 9

    states: [
        State {
            name: "portrait"
            when: root.input == 1
            PropertyChanges {
                target: root
                test: 3
            }
        }
    ]
}