|
|
@ -75,7 +75,7 @@ impl Tab { |
|
|
|
let label = Arc::new(Label::new(id.clone(), false)); |
|
|
|
let label = Arc::new(Label::new(id.clone(), false)); |
|
|
|
let page = Arc::new(Page::new( |
|
|
|
let page = Arc::new(Page::new( |
|
|
|
id.clone(), |
|
|
|
id.clone(), |
|
|
|
page_navigation_request_text, |
|
|
|
page_navigation_request_text.clone(), |
|
|
|
self.action_tab_page_reload.clone(), |
|
|
|
self.action_tab_page_reload.clone(), |
|
|
|
self.action_update.clone(), |
|
|
|
self.action_update.clone(), |
|
|
|
)); |
|
|
|
)); |
|
|
@ -109,6 +109,10 @@ impl Tab { |
|
|
|
self.widget.set_current_page(Some(page_number)); |
|
|
|
self.widget.set_current_page(Some(page_number)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if page_navigation_request_text.is_none() { |
|
|
|
|
|
|
|
page.grab_navigation_request_focus(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// Result
|
|
|
|
// Result
|
|
|
|
page_number |
|
|
|
page_number |
|
|
|
} |
|
|
|
} |
|
|
|