draft header update on page reload

This commit is contained in:
yggverse 2024-09-25 22:19:48 +03:00
parent 8977adab77
commit ca74a29ffa
6 changed files with 72 additions and 10 deletions

View file

@ -46,10 +46,11 @@ impl Browser {
widget.add_action_entries([
ActionEntry::builder("update")
.activate({
let header = header.clone();
let main = main.clone();
move |this: &ApplicationWindow, _, _| {
// header.update(); @TODO
move |_, _, _| {
main.update();
header.update(main.tab_page_title(), main.tab_page_description());
}
})
.build(),