summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-06-18 14:28:49 +0200
committermathieui <mathieui@mathieui.net>2011-06-18 14:28:49 +0200
commitc51559b14f492d44664f3e9f8951943654c6e034 (patch)
tree2fdc48fb01f58786db48b799009e11dd634578e4 /src/core.py
parentc93815737ffce901c4c35a4def2e3fe0aaaeec99 (diff)
downloadpoezio-c51559b14f492d44664f3e9f8951943654c6e034.tar.gz
poezio-c51559b14f492d44664f3e9f8951943654c6e034.tar.bz2
poezio-c51559b14f492d44664f3e9f8951943654c6e034.tar.xz
poezio-c51559b14f492d44664f3e9f8951943654c6e034.zip
Fixes #2209
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index 1351914c..1c675410 100644
--- a/src/core.py
+++ b/src/core.py
@@ -767,7 +767,8 @@ class Core(object):
def refresh_tab_win(self):
self.current_tab().tab_win.refresh()
- self.current_tab().input.refresh()
+ if self.current_tab().input:
+ self.current_tab().input.refresh()
self.doupdate()
def add_tab(self, new_tab, focus=False):