Unverified Commit 4aea2a2e authored by mathieui's avatar mathieui

Fix a bug when closing a tab (#3460)

parent cd9bae5c
...@@ -233,6 +233,7 @@ class Tabs: ...@@ -233,6 +233,7 @@ class Tabs:
self._previous_tab = None self._previous_tab = None
if is_current: if is_current:
self.restore_previous_tab() self.restore_previous_tab()
self._previous_tab = None
self._validate_current_index() self._validate_current_index()
def restore_previous_tab(self): def restore_previous_tab(self):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment