mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-15 17:20:08 +00:00
remove extra brackets
This commit is contained in:
parent
3db4c2c6be
commit
ad89d08f0f
@ -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({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user