remove extra brackets

This commit is contained in:
yggverse 2024-11-12 18:05:44 +02:00
parent 3db4c2c6be
commit ad89d08f0f

View File

@ -71,16 +71,12 @@ impl Window {
action.close().connect_activate({ action.close().connect_activate({
let tab = tab.clone(); let tab = tab.clone();
move |position| { move |position| tab.close(position)
tab.close(position);
}
}); });
action.close_all().connect_activate({ action.close_all().connect_activate({
let tab = tab.clone(); let tab = tab.clone();
move |_| { move |_| tab.close_all()
tab.close_all();
} // @TODO position not in use
}); });
action.history_back().connect_activate({ action.history_back().connect_activate({