This commit is contained in:
Kovid Goyal 2022-03-23 16:04:01 +05:30
parent 6dc1617429
commit adcc616c92
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 4 deletions

View File

@ -943,8 +943,7 @@ class Window:
def handle_overlay_ready(self, msg: str) -> None:
boss = get_boss()
tab = boss.tab_for_window(self)
if tab is None:
return
if tab is not None:
tab.move_window_to_top_of_group(self)
def handle_remote_askpass(self, msg: str) -> None:

View File

@ -68,7 +68,6 @@ class WindowGroup:
self.windows.append(window)
def move_window_to_top_of_group(self, window: WindowType) -> bool:
id
try:
idx = self.windows.index(window)
except ValueError: