Set the folder when the browse opens

pull/520/head
Adam Treat 1 year ago
parent 792cdd60fd
commit 9979c78c6c

@ -325,6 +325,7 @@ Dialog {
FolderDialog {
id: modelPathDialog
title: "Please choose a directory"
folder: Download.downloadLocalModelsPath
onAccepted: {
Download.downloadLocalModelsPath = selectedFolder
settings.modelPath = Download.downloadLocalModelsPath

@ -538,6 +538,7 @@ The prompt below is a question to answer, a task to complete, or a conversation
FolderDialog {
id: modelPathDialog
title: "Please choose a directory"
folder: Download.downloadLocalModelsPath
onAccepted: {
Download.downloadLocalModelsPath = selectedFolder
settings.modelPath = Download.downloadLocalModelsPath

Loading…
Cancel
Save