diff --git a/src/app/browser/window/tab/item/page.rs b/src/app/browser/window/tab/item/page.rs index 6e969ec2..5ead0c25 100644 --- a/src/app/browser/window/tab/item/page.rs +++ b/src/app/browser/window/tab/item/page.rs @@ -112,15 +112,14 @@ impl Page { action_page_open.connect_activate({ let this = this.clone(); - move |_, parameter| { - // Get request value from action parameter - let request = parameter - .expect("Parameter required for this action") - .get::() - .expect("Parameter does not match `String`"); - - // Update navigation entry - this.navigation.set_request_text(&request); + move |_, request| { + // Set request value from action parameter + this.navigation.set_request_text( + &request + .expect("Parameter required for this action") + .get::() + .expect("Parameter does not match `String`"), + ); // Reload page this.load(true);