From 7d638c3b769481906c8f9c8e5ee698f37444e92e Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 14 Oct 2024 06:45:05 +0300 Subject: [PATCH] apply request to page appended --- src/app/browser/window/tab.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/browser/window/tab.rs b/src/app/browser/window/tab.rs index 20f9ada0..d54271ed 100644 --- a/src/app/browser/window/tab.rs +++ b/src/app/browser/window/tab.rs @@ -105,10 +105,11 @@ impl Tab { // Register dynamically created tab components in the HashMap index index.borrow_mut().insert(item.id(), item.clone()); - // Set navigation request + // Apply request if let Some(variant) = request { if let Some(value) = variant.get::() { - item.set_page_navigation_request_text(value.as_str()) + item.set_page_navigation_request_text(value.as_str()); + item.page_navigation_reload(); } } }