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