Set the folder when the browse opens

This commit is contained in:
Adam Treat 2023-04-28 22:24:59 -04:00
parent 42cf4e9899
commit a018a3176e
2 changed files with 2 additions and 0 deletions

View File

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

View File

@ -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