mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-10 01:10:35 +00:00
Silence warning.
This commit is contained in:
parent
a3253c4ab1
commit
80bcbcd137
2
main.qml
2
main.qml
@ -687,7 +687,7 @@ Window {
|
|||||||
x: globalPoint.x
|
x: globalPoint.x
|
||||||
y: globalPoint.y
|
y: globalPoint.y
|
||||||
property string text: currentResponse ? LLM.response : (value ? value : "")
|
property string text: currentResponse ? LLM.response : (value ? value : "")
|
||||||
response: newResponse === "" ? text : newResponse
|
response: newResponse === undefined || newResponse === "" ? text : newResponse
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
var responseHasChanged = response !== text && response !== newResponse
|
var responseHasChanged = response !== text && response !== newResponse
|
||||||
if (thumbsDownState && !thumbsUpState && !responseHasChanged)
|
if (thumbsDownState && !thumbsUpState && !responseHasChanged)
|
||||||
|
Loading…
Reference in New Issue
Block a user