diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2020-08-26 20:29:55 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-26 20:29:55 -0400 |
commit | 2425779e7f7b445e595186348033e6dda518a399 (patch) | |
tree | cf72fcbe1397826c8e88ff67b3210ecd62f8e7cb /src/lib.rs | |
parent | 83e3437b36dc9f5083207e8f2a317d24540e787a (diff) |
bug: fix searching by command being broken (#204)
Fixes searching by command name being broken.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -418,15 +418,16 @@ pub fn handle_force_redraws(app: &mut App) { } } +#[allow(clippy::needless_collect)] pub fn update_all_process_lists(app: &mut App) { - let widget_ids = app - .proc_state - .widget_states - .keys() - .cloned() - .collect::<Vec<_>>(); - if !app.is_frozen { + let widget_ids = app + .proc_state + .widget_states + .keys() + .cloned() + .collect::<Vec<_>>(); + widget_ids.into_iter().for_each(|widget_id| { update_final_process_list(app, widget_id); }); |