Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow sorting by any column #183

Merged
merged 8 commits into from
Aug 16, 2020
Merged
Prev Previous commit
Next Next commit
Fix clippy error
  • Loading branch information
ClementTsang committed Aug 15, 2020
commit 77ac7269b6e4671a6fe6a58b2ea447a54f4c975e
2 changes: 1 addition & 1 deletion src/canvas/widgets/process_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ impl ProcessTableWidget for Painter {
let sliced_vec = &sort_string[start_position..];

let sort_options = sliced_vec
.into_iter()
.iter()
.map(|(column, style)| Row::StyledData(vec![column].into_iter(), *style));

let column_state = &mut proc_widget_state.columns.column_state;
Expand Down