mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-06 09:20:33 +00:00
Always have a chat.
This commit is contained in:
parent
c3d923cdc7
commit
1e6e682156
@ -78,8 +78,12 @@ public:
|
||||
return;
|
||||
}
|
||||
|
||||
const bool chatIsCurrent = chat == m_currentChat;
|
||||
emit disconnectChat(chat);
|
||||
if (chat == m_newChat) {
|
||||
m_newChat->disconnect(this);
|
||||
m_newChat = nullptr;
|
||||
}
|
||||
|
||||
const int index = m_chats.indexOf(chat);
|
||||
if (m_chats.count() < 2) {
|
||||
addChat();
|
||||
|
Loading…
Reference in New Issue
Block a user