Commit c33ef19d authored by Fushan Wen's avatar Fushan Wen 💬 Committed by Nate Graham
Browse files

applets/taskmanager: press space to activate task

Currently Enter, Return and Space can be used to activate a task.
parent 1a0150d7
Pipeline #197126 passed with stage
in 4 minutes and 47 seconds
......@@ -237,6 +237,7 @@ MouseArea {
Keys.onReturnPressed: TaskTools.activateTask(modelIndex(), model, event.modifiers, task)
Keys.onEnterPressed: Keys.onReturnPressed(event);
Keys.onSpacePressed: Keys.onReturnPressed(event);
function modelIndex() {
return (inPopup ? tasksModel.makeModelIndex(groupDialog.visualParent.itemIndex, index)
......
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