diff options
author | mathieui <mathieui@mathieui.net> | 2014-04-04 00:42:12 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-04-04 00:42:12 +0200 |
commit | cbc805b6d5f53d8bad058216a908619c6aeac179 (patch) | |
tree | f9ba483aed63ff7a809c0f8ee863ef9c84b55883 /src | |
parent | 695877ba2b9f4f3fd74778ab701fff92b70a12e0 (diff) | |
download | poezio-cbc805b6d5f53d8bad058216a908619c6aeac179.tar.gz poezio-cbc805b6d5f53d8bad058216a908619c6aeac179.tar.bz2 poezio-cbc805b6d5f53d8bad058216a908619c6aeac179.tar.xz poezio-cbc805b6d5f53d8bad058216a908619c6aeac179.zip |
Fix a hidden traceback on groupchat messages
Diffstat (limited to 'src')
-rw-r--r-- | src/core.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py index 3c9f5077..af5b3992 100644 --- a/src/core.py +++ b/src/core.py @@ -3237,7 +3237,9 @@ class Core(object): self.doupdate() elif tab.state != old_state: self.refresh_tab_win() - self.current_tab().input.refresh() + current = self.current_tab() + if hasattr(current, 'input') and current.input: + current.input.refresh() self.doupdate() if 'message' in config.get('beep_on', 'highlight private').split(): |