summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlstates/data/restoreEntryValues.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlstates/data/restoreEntryValues.qml')
-rw-r--r--tests/auto/declarative/qmlstates/data/restoreEntryValues.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/declarative/qmlstates/data/restoreEntryValues.qml b/tests/auto/declarative/qmlstates/data/restoreEntryValues.qml
new file mode 100644
index 0000000..088c608
--- /dev/null
+++ b/tests/auto/declarative/qmlstates/data/restoreEntryValues.qml
@@ -0,0 +1,14 @@
+import Qt 4.6
+Rectangle {
+ id: myRectangle
+ width: 100; height: 100
+ color: "red"
+ states: State {
+ name: "blue"
+ PropertyChanges {
+ target: myRectangle
+ restoreEntryValues: false
+ color: "blue"
+ }
+ }
+}