Mercurial > libervia-desktop-kivy
diff src/cagou/plugins/plugin_wid_chat.py @ 35:20b04c58868f
chat: header_input text is reset when widget is changed due to input
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 28 Aug 2016 14:59:49 +0200 |
parents | d09bd16dbbe2 |
children | 6cf08d0ee460 |
line wrap: on
line diff
--- 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))