diff options
Diffstat (limited to 'tests/auto/quick/qquickbehaviors/data/ItemWithInnerBehavior.qml')
-rw-r--r-- | tests/auto/quick/qquickbehaviors/data/ItemWithInnerBehavior.qml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickbehaviors/data/ItemWithInnerBehavior.qml b/tests/auto/quick/qquickbehaviors/data/ItemWithInnerBehavior.qml new file mode 100644 index 0000000000..09983645ef --- /dev/null +++ b/tests/auto/quick/qquickbehaviors/data/ItemWithInnerBehavior.qml @@ -0,0 +1,10 @@ +import QtQuick 2.4 + +Item { + id: root + + property bool someValue + Behavior on someValue { + ScriptAction { script: { parent.behaviorTriggered = true }} + } +} |