mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
update tab title on loading indicator inactive
This commit is contained in:
parent
b1f30fbd1e
commit
4759ce4815
2 changed files with 11 additions and 5 deletions
|
|
@ -159,10 +159,12 @@ impl Tab {
|
|||
// Update item components
|
||||
item.update();
|
||||
|
||||
// Update tab title
|
||||
if let Some(title) = item.page_meta_title() {
|
||||
item.gobject().set_title(title.as_str())
|
||||
};
|
||||
// Update tab title on loading indicator inactive
|
||||
if !item.page_is_loading() {
|
||||
if let Some(title) = item.page_meta_title() {
|
||||
item.gobject().set_title(title.as_str())
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue