Browse Source

fix variable name

master
yggverse 2 months ago
parent
commit
44f8d99dd2
  1. 4
      src/browser/main/tab/page/navigation/request.rs

4
src/browser/main/tab/page/navigation/request.rs

@ -16,7 +16,7 @@ impl Request {
pub fn new( pub fn new(
text: Option<GString>, text: Option<GString>,
action_update: Arc<SimpleAction>, action_update: Arc<SimpleAction>,
tab_page_reload: Arc<SimpleAction>, action_tab_page_reload: Arc<SimpleAction>,
) -> Self { ) -> Self {
// GTK // GTK
let widget = Entry::builder() let widget = Entry::builder()
@ -36,7 +36,7 @@ impl Request {
}); });
widget.connect_activate(move |_| { widget.connect_activate(move |_| {
tab_page_reload.activate(None); action_tab_page_reload.activate(None);
}); });
// Result // Result

Loading…
Cancel
Save