From 8217c4e28a17a7450622d26e152f60118dbfc2f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sat, 10 May 2014 12:44:37 +0200 Subject: [PATCH] Add support of message "_buffer_cleared" --- qweechat/qweechat.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qweechat/qweechat.py b/qweechat/qweechat.py index 41a5774..92a597d 100644 --- a/qweechat/qweechat.py +++ b/qweechat/qweechat.py @@ -458,6 +458,8 @@ class MainWindow(QTGUI.QMainWindow): elif message.msgid == '_buffer_title_changed': self.buffers[index].data['title'] = item['title'] self.buffers[index].update_title() + elif message.msgid == '_buffer_cleared': + self.buffers[index].widget.chat.clear() elif message.msgid.startswith('_buffer_localvar_'): self.buffers[index].data['local_variables'] = \ item['local_variables']