From 85626b3dabd41e5755c4eeb5fb0f556391b8203a Mon Sep 17 00:00:00 2001 From: Adam Treat Date: Sun, 9 Jul 2023 11:31:01 -0400 Subject: [PATCH] Fix model path. --- gpt4all-chat/qml/ModelDownloaderDialog.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gpt4all-chat/qml/ModelDownloaderDialog.qml b/gpt4all-chat/qml/ModelDownloaderDialog.qml index 6874aac8..b393171b 100644 --- a/gpt4all-chat/qml/ModelDownloaderDialog.qml +++ b/gpt4all-chat/qml/ModelDownloaderDialog.qml @@ -401,9 +401,9 @@ MyDialog { FolderDialog { id: modelPathDialog title: "Please choose a directory" - currentFolder: "file://" + MySettings.modelsPath + currentFolder: "file://" + MySettings.modelPath onAccepted: { - MySettings.modelsPath = selectedFolder + MySettings.modelPath = selectedFolder } } Label { @@ -424,7 +424,7 @@ MyDialog { Accessible.description: ToolTip.text onEditingFinished: { if (isValid) { - MySettings.modelsPath = modelPathDisplayField.text + MySettings.modelPath = modelPathDisplayField.text } else { text = MySettings.modelPath }