Fix tab title not always being updated when active window is closed

This commit is contained in:
Kovid Goyal 2019-03-21 20:44:55 +05:30
parent 482129ff35
commit 971c28ce97
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -281,6 +281,9 @@ class Tab: # {{{
else:
self.active_window_idx = active_window_idx
self.relayout_borders()
active_window = self.active_window
if active_window:
self.title_changed(active_window)
def set_active_window_idx(self, idx):
if idx != self.active_window_idx: