mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-10 20:51:45 +00:00
remove extra data type definition
This commit is contained in:
parent
a2c4389498
commit
76ddc32a7c
@ -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…
x
Reference in New Issue
Block a user