change accessible description for thumbs up button

This commit is contained in:
Justin Wang 2023-05-23 17:46:10 +02:00 committed by AT
parent 57852bfb9c
commit aeba3942b1

View File

@ -651,7 +651,7 @@ Window {
} }
Accessible.role = Accessible.Button Accessible.role = Accessible.Button
Accessible.name = qsTr("Thumbs up") Accessible.name = qsTr("Thumbs up")
Accessible.description = qsTr("Updates response and chatModel state for thumbs up") Accessible.description = qsTr("Gives a thumbs up to the response")
onClicked: { onClicked: {
if (thumbsUpState && !thumbsDownState) if (thumbsUpState && !thumbsDownState)
return return