Commit 8eaf0319 authored by Marco Martin's avatar Marco Martin
Browse files

change index on pressed, not on clicked

click events aren't eated anymore

BUG:400518
parent 9b56c6c5
......@@ -705,7 +705,7 @@ T.Control {
}
property Item owner
drag.filterChildren: true
onClicked: {
onPressed: {
switch (mouse.button) {
case Qt.BackButton:
root.flickBack();
......@@ -717,6 +717,7 @@ T.Control {
root.currentIndex = level;
break;
}
event.accepted = false;
}
onFocusChanged: {
if (focus) {
......
Supports Markdown
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