This commit is contained in:
Kovid Goyal 2021-10-17 12:54:55 +05:30
parent a4a7d49bed
commit 0fa03da18c
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -1924,9 +1924,9 @@ def chosen(ans: Union[None, str, int]) -> None:
if ans is not None:
if isinstance(ans, str):
if ans == 'new_os_window':
self._move_window_to(window=target_window, target_os_window_id='new')
self._move_window_to(target_os_window_id='new')
elif ans == 'new_tab':
self._move_window_to(window=target_window)
self._move_window_to(target_tab_id=ans)
else:
self._move_window_to(target_window, target_tab_id=ans)