mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +00:00
Set the folder when the browse opens
This commit is contained in:
parent
792cdd60fd
commit
9979c78c6c
@ -325,6 +325,7 @@ Dialog {
|
|||||||
FolderDialog {
|
FolderDialog {
|
||||||
id: modelPathDialog
|
id: modelPathDialog
|
||||||
title: "Please choose a directory"
|
title: "Please choose a directory"
|
||||||
|
folder: Download.downloadLocalModelsPath
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
Download.downloadLocalModelsPath = selectedFolder
|
Download.downloadLocalModelsPath = selectedFolder
|
||||||
settings.modelPath = Download.downloadLocalModelsPath
|
settings.modelPath = Download.downloadLocalModelsPath
|
||||||
|
@ -538,6 +538,7 @@ The prompt below is a question to answer, a task to complete, or a conversation
|
|||||||
FolderDialog {
|
FolderDialog {
|
||||||
id: modelPathDialog
|
id: modelPathDialog
|
||||||
title: "Please choose a directory"
|
title: "Please choose a directory"
|
||||||
|
folder: Download.downloadLocalModelsPath
|
||||||
onAccepted: {
|
onAccepted: {
|
||||||
Download.downloadLocalModelsPath = selectedFolder
|
Download.downloadLocalModelsPath = selectedFolder
|
||||||
settings.modelPath = Download.downloadLocalModelsPath
|
settings.modelPath = Download.downloadLocalModelsPath
|
||||||
|
Loading…
Reference in New Issue
Block a user