mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
draft header update on page reload
This commit is contained in:
parent
8977adab77
commit
ca74a29ffa
6 changed files with 72 additions and 10 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue