mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-24 22:14:28 +00:00
run clippy
This commit is contained in:
parent
80cd6e516b
commit
7a98581421
|
@ -509,14 +509,12 @@ impl AppState {
|
|||
self.focus = Focus::List;
|
||||
if !self.multi_select {
|
||||
self.selected_commands.clear()
|
||||
} else {
|
||||
if let Some(node) = self.get_selected_node() {
|
||||
} else if let Some(node) = self.get_selected_node() {
|
||||
if !node.multi_select {
|
||||
self.selected_commands.retain(|cmd| cmd.name != node.name);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
ConfirmStatus::Confirm => self.handle_confirm_command(),
|
||||
ConfirmStatus::None => {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user