...
This commit is contained in:
parent
6dc1617429
commit
adcc616c92
2 changed files with 2 additions and 4 deletions
|
|
@ -943,9 +943,8 @@ def handle_kitten_result(self, msg: str) -> None:
|
|||
def handle_overlay_ready(self, msg: str) -> None:
|
||||
boss = get_boss()
|
||||
tab = boss.tab_for_window(self)
|
||||
if tab is None:
|
||||
return
|
||||
tab.move_window_to_top_of_group(self)
|
||||
if tab is not None:
|
||||
tab.move_window_to_top_of_group(self)
|
||||
|
||||
def handle_remote_askpass(self, msg: str) -> None:
|
||||
from .shm import SharedMemory
|
||||
|
|
|
|||
|
|
@ -68,7 +68,6 @@ def add_window(self, window: WindowType, head_of_group: bool = False) -> None:
|
|||
self.windows.append(window)
|
||||
|
||||
def move_window_to_top_of_group(self, window: WindowType) -> bool:
|
||||
id
|
||||
try:
|
||||
idx = self.windows.index(window)
|
||||
except ValueError:
|
||||
|
|
|
|||
Loading…
Reference in a new issue