mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2024-10-01 01:06:10 -04:00
Fix settings dialog to use onClosed handler.
This commit is contained in:
parent
305c9dc30c
commit
f8754cbe1b
@ -90,8 +90,11 @@ The prompt below is a question to answer, a task to complete, or a conversation
|
|||||||
Download.downloadLocalModelsPath = settings.modelPath
|
Download.downloadLocalModelsPath = settings.modelPath
|
||||||
}
|
}
|
||||||
|
|
||||||
Component.onDestruction: {
|
Connections {
|
||||||
settings.sync()
|
target: settingsDialog
|
||||||
|
function onClosed() {
|
||||||
|
settings.sync()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
|
Loading…
Reference in New Issue
Block a user