mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Fix model path.
This commit is contained in:
parent
d611d10747
commit
85626b3dab
@ -401,9 +401,9 @@ MyDialog {
|
|||||||
FolderDialog {
|
FolderDialog {
|
||||||
id: modelPathDialog
|
id: modelPathDialog
|
||||||
title: "Please choose a directory"
|
title: "Please choose a directory"
|
||||||
currentFolder: "file://" + MySettings.modelsPath
|
currentFolder: "file://" + MySettings.modelPath
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
MySettings.modelsPath = selectedFolder
|
MySettings.modelPath = selectedFolder
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Label {
|
Label {
|
||||||
@ -424,7 +424,7 @@ MyDialog {
|
|||||||
Accessible.description: ToolTip.text
|
Accessible.description: ToolTip.text
|
||||||
onEditingFinished: {
|
onEditingFinished: {
|
||||||
if (isValid) {
|
if (isValid) {
|
||||||
MySettings.modelsPath = modelPathDisplayField.text
|
MySettings.modelPath = modelPathDisplayField.text
|
||||||
} else {
|
} else {
|
||||||
text = MySettings.modelPath
|
text = MySettings.modelPath
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user