Silence warning.

This commit is contained in:
Adam Treat 2023-04-27 11:44:41 -04:00
parent 5a7d40f604
commit db3acf9980

View File

@ -687,7 +687,7 @@ Window {
x: globalPoint.x
y: globalPoint.y
property string text: currentResponse ? LLM.response : (value ? value : "")
response: newResponse === "" ? text : newResponse
response: newResponse === undefined || newResponse === "" ? text : newResponse
onAccepted: {
var responseHasChanged = response !== text && response !== newResponse
if (thumbsDownState && !thumbsUpState && !responseHasChanged)