Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
Description
See tst_qdeclarativestates::attachedPropertyChanges() test. The PropertyChanges {} does not change the attached property, or issue an error.
import Qt.test 1.0 import Qt 4.7 Item { id: item width: 100; height: 100 MyRectangle.foo: 0 states: State { name: "foo1" PropertyChanges { target: item MyRectangle.foo: 1 } } Component.onCompleted: item.state = "foo1" }