summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-02-14 00:59:42 +0100
committermathieui <mathieui@mathieui.net>2014-02-14 00:59:59 +0100
commit384fd3e029d0910a9be5165375b446a2ace17bd0 (patch)
treedb73a0a0e934b442f4064b2183e778d83586ef00 /src
parent05a9e03d5392103e2e17b0d3da58532ef5b3f671 (diff)
downloadpoezio-384fd3e029d0910a9be5165375b446a2ace17bd0.tar.gz
poezio-384fd3e029d0910a9be5165375b446a2ace17bd0.tar.bz2
poezio-384fd3e029d0910a9be5165375b446a2ace17bd0.tar.xz
poezio-384fd3e029d0910a9be5165375b446a2ace17bd0.zip
Call on_gain_focus on the new current tab after closing a tab
Diffstat (limited to 'src')
-rw-r--r--src/core.py1
1 files changed, 1 insertions, 0 deletions
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()