...
This commit is contained in:
parent
6dc1617429
commit
adcc616c92
@ -943,8 +943,7 @@ class Window:
|
|||||||
def handle_overlay_ready(self, msg: str) -> None:
|
def handle_overlay_ready(self, msg: str) -> None:
|
||||||
boss = get_boss()
|
boss = get_boss()
|
||||||
tab = boss.tab_for_window(self)
|
tab = boss.tab_for_window(self)
|
||||||
if tab is None:
|
if tab is not None:
|
||||||
return
|
|
||||||
tab.move_window_to_top_of_group(self)
|
tab.move_window_to_top_of_group(self)
|
||||||
|
|
||||||
def handle_remote_askpass(self, msg: str) -> None:
|
def handle_remote_askpass(self, msg: str) -> None:
|
||||||
|
|||||||
@ -68,7 +68,6 @@ class WindowGroup:
|
|||||||
self.windows.append(window)
|
self.windows.append(window)
|
||||||
|
|
||||||
def move_window_to_top_of_group(self, window: WindowType) -> bool:
|
def move_window_to_top_of_group(self, window: WindowType) -> bool:
|
||||||
id
|
|
||||||
try:
|
try:
|
||||||
idx = self.windows.index(window)
|
idx = self.windows.index(window)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user