mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
fix clippy warning
This commit is contained in:
parent
0060bda5d2
commit
33f4454584
1 changed files with 4 additions and 9 deletions
|
|
@ -92,15 +92,10 @@ impl Tab {
|
|||
let window_action = window_action.clone();
|
||||
let index = index.clone();
|
||||
move |tab_view| {
|
||||
update_actions(
|
||||
tab_view,
|
||||
tab_view.selected_page().map(|tab_page| {
|
||||
tab_page.set_needs_attention(false);
|
||||
tab_page
|
||||
}),
|
||||
&index,
|
||||
&window_action,
|
||||
)
|
||||
if let Some(tab_page) = tab_view.selected_page() {
|
||||
tab_page.set_needs_attention(false);
|
||||
}
|
||||
update_actions(tab_view, tab_view.selected_page(), &index, &window_action)
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue