Fix the dialog so it opens on the correct folder.

This commit is contained in:
Adam Treat 2023-05-21 16:24:37 -04:00 committed by AT
parent ef052aed84
commit d9698436df
2 changed files with 2 additions and 2 deletions

View File

@ -408,7 +408,7 @@ Dialog {
FolderDialog {
id: modelPathDialog
title: "Please choose a directory"
currentFolder: Download.downloadLocalModelsPath
currentFolder: "file://" + Download.downloadLocalModelsPath
onAccepted: {
Download.downloadLocalModelsPath = selectedFolder
settings.modelPath = Download.downloadLocalModelsPath

View File

@ -662,7 +662,7 @@ Dialog {
FolderDialog {
id: modelPathDialog
title: "Please choose a directory"
currentFolder: Download.downloadLocalModelsPath
currentFolder: "file://" + Download.downloadLocalModelsPath
onAccepted: {
Download.downloadLocalModelsPath = selectedFolder
settings.modelPath = Download.downloadLocalModelsPath