# HG changeset patch # User Goffi # Date 1472389189 -7200 # Node ID 20b04c58868fdbcf28e9ae30a2b3248c1277484a # Parent 02acbb297a611e64f919318184d5ea8b0bb2c344 chat: header_input text is reset when widget is changed due to input diff -r 02acbb297a61 -r 20b04c58868f src/cagou/plugins/plugin_wid_chat.py --- a/src/cagou/plugins/plugin_wid_chat.py Mon Aug 22 20:58:12 2016 +0200 +++ b/src/cagou/plugins/plugin_wid_chat.py Sun Aug 28 14:59:49 2016 +0200 @@ -158,6 +158,7 @@ plugin_info = [p for p in G.host.getPluggedWidgets() if p["factory"] == self.factory][0] # FIXME: Q&D way, need a proper method in host factory = plugin_info['factory'] G.host.switchWidget(self, factory(plugin_info, jid_, profiles=[self.profile])) + self.header_input.text = '' def discoEb(failure): log.warning(u"Disco failure, ignore this text: {}".format(failure))