mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-08-15 06:33:31 +00:00
Silence warning.
This commit is contained in:
parent
5a7d40f604
commit
db3acf9980
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