Fix unbound variable in hyperlink handling
This commit is contained in:
parent
1aebd83e45
commit
926c3540ff
1 changed files with 1 additions and 0 deletions
|
|
@ -756,6 +756,7 @@ def joined_text() -> str:
|
|||
cwd = data['cwd']
|
||||
program = None if program == 'default' else program
|
||||
if text_type == 'hyperlink':
|
||||
w = boss.window_id_map.get(target_window_id)
|
||||
for m in matches:
|
||||
if w is not None:
|
||||
w.open_url(m, hyperlink_id=1, cwd=cwd)
|
||||
|
|
|
|||
Loading…
Reference in a new issue