Fixed nasty clear chat glitch
This commit is contained in:
parent
33b7cae24d
commit
a66c6d5f40
@ -1391,7 +1391,7 @@ Generate a title following these rules:
|
|||||||
def clear_chat(self):
|
def clear_chat(self):
|
||||||
logger.info("Clearing chat")
|
logger.info("Clearing chat")
|
||||||
for widget in list(self.chat_container): self.chat_container.remove(widget)
|
for widget in list(self.chat_container): self.chat_container.remove(widget)
|
||||||
self.chats["chats"][self.chats["selected_chat"]]["messages"] = []
|
self.chats["chats"][self.chats["selected_chat"]]["messages"] = {}
|
||||||
self.save_history()
|
self.save_history()
|
||||||
|
|
||||||
def delete_chat(self, chat_name):
|
def delete_chat(self, chat_name):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user