summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-02-24 20:31:34 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-02-24 20:31:34 +0100
commit3f41cc89678b3cfe6be1ed0dd39aa9b57804b675 (patch)
tree0b5864fe2022a20bd89e6afe08cbc738e0f92c1d /src
parentd0b1349cf4b0c7378cb83508737aa7b301dd0ea8 (diff)
downloadpoezio-3f41cc89678b3cfe6be1ed0dd39aa9b57804b675.tar.gz
poezio-3f41cc89678b3cfe6be1ed0dd39aa9b57804b675.tar.bz2
poezio-3f41cc89678b3cfe6be1ed0dd39aa9b57804b675.tar.xz
poezio-3f41cc89678b3cfe6be1ed0dd39aa9b57804b675.zip
Refresh the tab when we receive a chat state
Diffstat (limited to 'src')
-rw-r--r--src/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index a844968a..bcbc6bef 100644
--- a/src/core.py
+++ b/src/core.py
@@ -243,6 +243,8 @@ class Core(object):
if not tab:
return
tab.chatstate = state
+ if tab == self.current_tab():
+ self.refresh_window()
def open_new_form(self, form, on_cancel, on_send, **kwargs):
"""