Commit fd7c11cc authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

applets/activitybar: move focus after pressing arrow keys

parent c0195f16
Pipeline #214901 passed with stage
in 9 minutes and 8 seconds
......@@ -61,6 +61,7 @@ Item {
case Qt.Key_Return:
case Qt.Key_Select:
activityModel.setCurrentActivity(model.id, function() {});
event.accepted = true;
break;
}
}
......@@ -76,6 +77,9 @@ Item {
onCheckedChanged: {
if(model.current) {
tabBar.currentTab = tab;
if (tabBar.activeFocus) {
forceActiveFocus();
}
}
}
......
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