Fix model path.

This commit is contained in:
Adam Treat 2023-07-09 11:31:01 -04:00
parent d611d10747
commit 85626b3dab

View File

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