Fix #9602
This commit is contained in:
parent
f7a4bf6be2
commit
e6aeaaa4ff
1 changed files with 5 additions and 0 deletions
|
|
@ -1164,6 +1164,11 @@ def add_tabs_from_session(self, session: SessionType, session_name: str = '') ->
|
|||
# focus_tab.
|
||||
if (at := self.active_tab) and (w := at.active_window):
|
||||
w.last_focused_at = monotonic()
|
||||
active_tab = self.active_tab
|
||||
for tab in added_tabs:
|
||||
w = tab.active_window
|
||||
for q in tab:
|
||||
q.focus_changed(w is q and tab is active_tab)
|
||||
|
||||
@property
|
||||
def active_tab_idx(self) -> int:
|
||||
|
|
|
|||
Loading…
Reference in a new issue