diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/decorators.py | 2 | ||||
-rw-r--r-- | src/tabs.py | 6 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/decorators.py b/src/decorators.py index 6eaac018..ab987701 100644 --- a/src/decorators.py +++ b/src/decorators.py @@ -15,7 +15,6 @@ class RefreshWrapper(object): ret = func(*args, **kwargs) if self.core and ret: self.core.refresh_window() - self.core.doupdate() return ret return wrap @@ -27,7 +26,6 @@ class RefreshWrapper(object): ret = func(*args, **kwargs) if self.core: self.core.refresh_window() - self.core.doupdate() return ret return wrap 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): |