Allow tab title to be set to empty to use window title
This commit is contained in:
parent
88ee5e95fc
commit
d29faa0986
@ -1425,7 +1425,7 @@ class Boss:
|
|||||||
|
|
||||||
def do_set_tab_title(self, title: str, tab_id: int) -> None:
|
def do_set_tab_title(self, title: str, tab_id: int) -> None:
|
||||||
tm = self.active_tab_manager
|
tm = self.active_tab_manager
|
||||||
if tm is not None and title:
|
if tm is not None:
|
||||||
tab_id = int(tab_id)
|
tab_id = int(tab_id)
|
||||||
for tab in tm.tabs:
|
for tab in tm.tabs:
|
||||||
if tab.id == tab_id:
|
if tab.id == tab_id:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user