summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2019-02-24 14:34:27 +0100
committermathieui <mathieui@mathieui.net>2019-02-24 14:34:27 +0100
commit4aea2a2e10b702ab61d19532e64205652836f26c (patch)
tree9e782d6e6c466bfa6614bd3ccfc5dab2b66a611f
parentcd9bae5c2972136472ef1a9ebdd8e900be1c8048 (diff)
downloadpoezio-4aea2a2e10b702ab61d19532e64205652836f26c.tar.gz
poezio-4aea2a2e10b702ab61d19532e64205652836f26c.tar.bz2
poezio-4aea2a2e10b702ab61d19532e64205652836f26c.tar.xz
poezio-4aea2a2e10b702ab61d19532e64205652836f26c.zip
Fix a bug when closing a tab (#3460)
-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):