mirror of
https://github.com/nomic-ai/gpt4all.git
synced 2025-09-09 12:29:56 +00:00
Save chats on quit, even if window isn't closed first (#3387)
Signed-off-by: Jared Van Bortel <jared@nomic.ai>
This commit is contained in:
@@ -54,7 +54,7 @@ Window {
|
||||
systemTrayIcon.shouldClose = true;
|
||||
window.shouldClose = true;
|
||||
savingPopup.open();
|
||||
ChatListModel.saveChats();
|
||||
ChatListModel.saveChatsForQuit();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -231,8 +231,8 @@ Window {
|
||||
|
||||
window.shouldClose = true;
|
||||
savingPopup.open();
|
||||
ChatListModel.saveChats();
|
||||
close.accepted = false
|
||||
ChatListModel.saveChatsForQuit();
|
||||
close.accepted = false;
|
||||
}
|
||||
|
||||
Connections {
|
||||
|
Reference in New Issue
Block a user