Mercurial > libervia-desktop-kivy
changeset 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 | 02acbb297a61 |
children | bd3ecac18870 |
files | src/cagou/plugins/plugin_wid_chat.py |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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))