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

applets/icon: fix invalid `Accessible.description`

mainText is a property in `PlasmaCore.ToolTipArea`.


(cherry picked from commit e6648811)
parent 0d07a25a
Pipeline #208678 passed with stage
in 7 minutes and 25 seconds
......@@ -40,7 +40,7 @@ MouseArea {
}
}
Accessible.name: Plasmoid.title
Accessible.description: Plasmoid.nativeInterface.genericName !== mainText ? Plasmoid.nativeInterface.genericName :""
Accessible.description: toolTip.subText
Accessible.role: Accessible.Button
Layout.minimumWidth: Plasmoid.formFactor === PlasmaCore.Types.Horizontal ? height : PlasmaCore.Units.iconSizes.small
......@@ -161,6 +161,7 @@ MouseArea {
}
PlasmaCore.ToolTipArea {
id: toolTip
anchors.fill: parent
mainText: Plasmoid.title
subText: Plasmoid.nativeInterface.genericName !== mainText ? Plasmoid.nativeInterface.genericName :""
......
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