diff options
author | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2025-01-15 21:14:35 +0000 |
---|---|---|
committer | Lucas Fryzek <lucas.fryzek@fryzekconcepts.com> | 2025-01-15 21:14:35 +0000 |
commit | a34196f2fa184755e0dc336341b8ed92e5d0a398 (patch) | |
tree | 026566161dee7ff20c0d10c6c74f8d33f64e7fa3 /src/main.py | |
parent | 1310a03148eac23db565ca0c6bbd5ae490024637 (diff) |
chat: Improve rendering of messages
Reduces the slowdown from receiving lots of messages at once. TODO look
to see if adding messages can be done without freezing the UI.
Diffstat (limited to 'src/main.py')
-rw-r--r-- | src/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.py b/src/main.py index a120031..ea387eb 100644 --- a/src/main.py +++ b/src/main.py @@ -320,7 +320,7 @@ class WeegtkApplication(Adw.Application): self.buffers[index].data['title'] = item['title'] ##self.pages[index].set_title(item['title']) elif message.msgid == '_buffer_cleared': - self.buffers[index].widget.chat.clear() + self.buffers[index].clear() elif message.msgid.startswith('_buffer_localvar_'): self.buffers[index].data['local_variables'] = \ item['local_variables'] |