mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
draft history navigation
This commit is contained in:
parent
fceb3a75a4
commit
f44b48a8ab
5 changed files with 71 additions and 14 deletions
|
|
@ -89,10 +89,13 @@ impl Page {
|
|||
.get::<String>()
|
||||
.expect("Parameter does not match `String`");
|
||||
|
||||
let request = GString::from(uri);
|
||||
|
||||
navigation.set_request_text(
|
||||
&GString::from(uri),
|
||||
true, // activate (page reload)
|
||||
&request, true, // activate (page reload)
|
||||
);
|
||||
|
||||
navigation.add_history(request);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue