summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/core/tabs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/poezio/core/tabs.py b/poezio/core/tabs.py
index 3ced7a7e..3d4db8b0 100644
--- a/poezio/core/tabs.py
+++ b/poezio/core/tabs.py
@@ -233,6 +233,7 @@ class Tabs:
self._previous_tab = None
if is_current:
self.restore_previous_tab()
+ self._previous_tab = None
self._validate_current_index()
def restore_previous_tab(self):