mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-26 07:27:32 +00:00
Fix settings dialog to use onClosed handler.
This commit is contained in:
@@ -90,8 +90,11 @@ The prompt below is a question to answer, a task to complete, or a conversation
|
||||
Download.downloadLocalModelsPath = settings.modelPath
|
||||
}
|
||||
|
||||
Component.onDestruction: {
|
||||
settings.sync()
|
||||
Connections {
|
||||
target: settingsDialog
|
||||
function onClosed() {
|
||||
settings.sync()
|
||||
}
|
||||
}
|
||||
|
||||
Item {
|
||||
|
Reference in New Issue
Block a user