Commit 384fd3e0 authored by mathieui's avatar mathieui

Call on_gain_focus on the new current tab after closing a tab

parent 05a9e03d
......@@ -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()
......
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