Commit be5c9751 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.

(cherry picked from commit c33ef19d)
parent ec7b564f
Pipeline #197127 passed with stage
in 5 minutes and 25 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