summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-06-09 17:02:54 +0200
committermathieui <mathieui@mathieui.net>2013-06-09 17:02:54 +0200
commitd5ae6966f96bdd1f712584488a4563f95af6defc (patch)
tree2d18270c8a77b0b8a3fcf2cacfda7581df53f81c
parent361de51bc1cf8e72edc0c5f7a2fa675adb862a75 (diff)
downloadpoezio-d5ae6966f96bdd1f712584488a4563f95af6defc.tar.gz
poezio-d5ae6966f96bdd1f712584488a4563f95af6defc.tar.bz2
poezio-d5ae6966f96bdd1f712584488a4563f95af6defc.tar.xz
poezio-d5ae6966f96bdd1f712584488a4563f95af6defc.zip
Fix #2301
-rw-r--r--src/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index a7c302dc..28154241 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1049,6 +1049,8 @@ class Core(object):
tab = self.get_tab_by_name(jid, tabs.ConversationTab)
if tab:
tab.add_message(msg, typ=2)
+ if self.current_tab() is tab:
+ self.refresh_window()
####################### Curses and ui-related stuff ###########################