summaryrefslogtreecommitdiff
path: root/src/tabs.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-10-15 19:56:15 +0200
committermathieui <mathieui@mathieui.net>2012-10-15 19:56:15 +0200
commit36c02ef0588ce3e10815c40dea26c89ec4cc04f3 (patch)
tree7cf6261c2750d6a56d92a5ccfc1413c7cd7b6ba1 /src/tabs.py
parent59df2d3e94cd794d5561471957b17f2492c94611 (diff)
downloadpoezio-36c02ef0588ce3e10815c40dea26c89ec4cc04f3.tar.gz
poezio-36c02ef0588ce3e10815c40dea26c89ec4cc04f3.tar.bz2
poezio-36c02ef0588ce3e10815c40dea26c89ec4cc04f3.tar.xz
poezio-36c02ef0588ce3e10815c40dea26c89ec4cc04f3.zip
Fix a refresh issue with /message
Diffstat (limited to 'src/tabs.py')
-rw-r--r--src/tabs.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tabs.py b/src/tabs.py
index f3424b56..6a79adce 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -2482,11 +2482,11 @@ class RosterInfoTab(Tab):
self.input.do_command("/") # we add the slash
def reset_help_message(self, _=None):
+ self.input = self.default_help_message
if self.core.current_tab() is self:
curses.curs_set(0)
- self.input = self.default_help_message
- self.input.refresh()
- self.core.doupdate()
+ self.input.refresh()
+ self.core.doupdate()
return True
def execute_slash_command(self, txt):