Add support of message "_buffer_cleared"
This commit is contained in:
parent
b8af54aae1
commit
8217c4e28a
@ -458,6 +458,8 @@ class MainWindow(QTGUI.QMainWindow):
|
|||||||
elif message.msgid == '_buffer_title_changed':
|
elif message.msgid == '_buffer_title_changed':
|
||||||
self.buffers[index].data['title'] = item['title']
|
self.buffers[index].data['title'] = item['title']
|
||||||
self.buffers[index].update_title()
|
self.buffers[index].update_title()
|
||||||
|
elif message.msgid == '_buffer_cleared':
|
||||||
|
self.buffers[index].widget.chat.clear()
|
||||||
elif message.msgid.startswith('_buffer_localvar_'):
|
elif message.msgid.startswith('_buffer_localvar_'):
|
||||||
self.buffers[index].data['local_variables'] = \
|
self.buffers[index].data['local_variables'] = \
|
||||||
item['local_variables']
|
item['local_variables']
|
||||||
|
Loading…
Reference in New Issue
Block a user