diff options
Diffstat (limited to 'tests/manual/quickcontrols2/testbench/controls/DelayButton.qml')
-rw-r--r-- | tests/manual/quickcontrols2/testbench/controls/DelayButton.qml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/manual/quickcontrols2/testbench/controls/DelayButton.qml b/tests/manual/quickcontrols2/testbench/controls/DelayButton.qml index c0f6faa29b..914c1c5632 100644 --- a/tests/manual/quickcontrols2/testbench/controls/DelayButton.qml +++ b/tests/manual/quickcontrols2/testbench/controls/DelayButton.qml @@ -63,10 +63,9 @@ QtObject { property Component component: Component { DelayButton { text: "DelayButton" -// enabled: !is("disabled") + enabled: !is("disabled") // Only set it if it's pressed, or the non-pressed examples will have no press effects -// down: is("pressed") ? true : undefined - onDownChanged: print("down", down) + down: is("pressed") ? true : undefined } } } |