From 384fd3e029d0910a9be5165375b446a2ace17bd0 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 14 Feb 2014 00:59:42 +0100 Subject: Call on_gain_focus on the new current tab after closing a tab --- src/core.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core.py b/src/core.py index 0d9c88a1..ed78e6a3 100644 --- a/src/core.py +++ b/src/core.py @@ -1152,6 +1152,7 @@ class Core(object): self.current_tab_nb = len(self.tabs) - 1 while not self.tabs[self.current_tab_nb]: self.current_tab_nb -= 1 + self.current_tab().on_gain_focus() self.refresh_window() import gc gc.collect() -- cgit v1.2.3