Commit 50fd7f97 authored by Karel Slaný's avatar Karel Slaný

Fixing AccessibleSwitch for VoiceOver.

parent 052308a5
......@@ -40,6 +40,9 @@ Switch {
Accessible.checked: root.checked
Accessible.description: root.accessibleDescription
Accessible.name: (root.accessibleName !== "") ? root.accessibleName : root.text
Accessible.onPressAction: {
root.toggle()
}
Accessible.onToggleAction: {
root.toggle()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment