From 4aea2a2e10b702ab61d19532e64205652836f26c Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 24 Feb 2019 14:34:27 +0100 Subject: Fix a bug when closing a tab (#3460) --- poezio/core/tabs.py | 1 + 1 file changed, 1 insertion(+) 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): -- cgit v1.2.3