summaryrefslogtreecommitdiff
path: root/poezio/core/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/core/core.py')
-rw-r--r--poezio/core/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index 814f7813..114bea7d 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -1109,7 +1109,7 @@ class Core(object):
for state in states:
for tab in tab_refs[state]:
- if (tab.nb < self.tabs.current_tab_intex and
+ if (tab.nb < self.tabs.current_tab_index and
tab_refs[state][-1].nb > self.tabs.current_tab_index):
continue
self.command.win(str(tab.nb))