Fix #4318
This commit is contained in:
parent
11badac95d
commit
2da25d9187
@ -1075,7 +1075,7 @@ class Window:
|
||||
|
||||
def set_logo(self, path: str, position: str = '', alpha: float = -1) -> None:
|
||||
from .options.utils import config_or_absolute_path
|
||||
path = config_or_absolute_path(path, get_options().env) or path
|
||||
path = (config_or_absolute_path(path, get_options().env) or path) if path else ''
|
||||
set_window_logo(self.os_window_id, self.tab_id, self.id, path, position or '', alpha)
|
||||
|
||||
# actions {{{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user