Now About Social Code
aboutsummaryrefslogtreecommitdiff
path: root/src/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.py')
-rw-r--r--src/main.py2
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']