Fix a bug when closing a tab (#3460)

This commit is contained in:
mathieui 2019-02-24 14:34:27 +01:00
parent cd9bae5c29
commit 4aea2a2e10
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -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):