Browse Source

remove extra data type definition

master
yggverse 2 months ago
parent
commit
76ddc32a7c
  1. 2
      src/browser/main/tab.rs

2
src/browser/main/tab.rs

@ -34,7 +34,7 @@ impl Tab { @@ -34,7 +34,7 @@ impl Tab {
// Actions
pub fn activate(&self, tab: Arc<Self>) {
self.widget.connect_page_removed({
move |_, widget: &Widget, _| {
move |_, widget, _| {
// Cleanup HashMap index
let id = &widget.widget_name();
tab.labels.borrow_mut().remove(id);

Loading…
Cancel
Save