Commit b767e200 authored by Nate Graham's avatar Nate Graham
Browse files

Add missing Accessibility properties to FlatButtonWithToolTip

parent 5711a182
......@@ -12,12 +12,16 @@ import org.kde.kirigami 2.5 as Kirigami
import org.kde.elisa 1.0
ToolButton {
Keys.onReturnPressed: clicked()
Accessible.onPressAction: clicked()
display: AbstractButton.IconOnly
ToolTip.visible: hovered && text.length > 0
ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval
ToolTip.text: text
Keys.onReturnPressed: clicked()
Keys.onEnterPressed: clicked() ToolTip.text
Accessible.description: ToolTip.text
Accessible.onPressAction: clicked()
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