trigger button switch on mouse wheel

BUG:342778
Change-Id: Idfa06319ac84762040eea07074042061a4bc313c
This commit is contained in:
Marco Martin 2015-01-13 12:48:48 +01:00
parent d255c63ce2
commit c1814477fd

View File

@ -132,6 +132,10 @@ Item {
break break
} }
} }
if (root.children[oldIndex]) {
root.children[oldIndex].clicked();
}
} }
function goPreviousTab() { function goPreviousTab() {
@ -153,6 +157,10 @@ Item {
break break
} }
} }
if (root.children[oldIndex]) {
root.children[oldIndex].clicked();
}
} }
function currentButtonIndex() { function currentButtonIndex() {