mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
implement is_history record argument for load action
This commit is contained in:
parent
60d4a94ff3
commit
47b2be986b
7 changed files with 49 additions and 34 deletions
|
|
@ -81,7 +81,7 @@ impl Item {
|
|||
|
||||
action.load().connect_activate({
|
||||
let page = page.clone();
|
||||
move |request| {
|
||||
move |request, is_history| {
|
||||
if let Some(text) = request {
|
||||
page.navigation()
|
||||
.request()
|
||||
|
|
@ -89,7 +89,7 @@ impl Item {
|
|||
.gobject()
|
||||
.set_text(&text);
|
||||
}
|
||||
page.load(true);
|
||||
page.load(is_history);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue