diff options
Diffstat (limited to 'examples/quick/customitems/slideswitch/content/Switch.qml')
-rw-r--r-- | examples/quick/customitems/slideswitch/content/Switch.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/customitems/slideswitch/content/Switch.qml b/examples/quick/customitems/slideswitch/content/Switch.qml index 889ceb27bc..51b7185b72 100644 --- a/examples/quick/customitems/slideswitch/content/Switch.qml +++ b/examples/quick/customitems/slideswitch/content/Switch.qml @@ -53,7 +53,7 @@ Item { function toggle() { if (toggleswitch.state == "on") toggleswitch.state = "off"; - else + else toggleswitch.state = "on"; } //![2] |