Verified Commit a4fbd4b8 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

applets/taskmanager: use `model.display` in accessible properties

labelText can be empty when using icon-only task manager.
parent 805967f0
Pipeline #204982 passed with stage
in 4 minutes and 42 seconds
......@@ -65,8 +65,8 @@ MouseArea {
|| (task.contextMenu && task.contextMenu.status === PlasmaComponents.DialogStatus.Open)
|| (!!tasks.groupDialog && tasks.groupDialog.visualParent === task)
Accessible.name: task.labelText
Accessible.description: task.labelText ? i18n("Activate %1", task.labelText) : ""
Accessible.name: model.display
Accessible.description: model.display ? i18n("Activate %1", model.display) : ""
Accessible.role: Accessible.Button
onHighlightedChanged: {
......
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