Skip to content

Commit

Permalink
Fix preserving focus
Browse files Browse the repository at this point in the history
  • Loading branch information
azat committed Nov 2, 2023
1 parent f23fad2 commit c89b6a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/view/processes_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ impl ProcessesView {
self.has_selection_column = false;
}

inner_table.set_items(items);
inner_table.set_items_stable(items);
}

fn show_flamegraph(self: &mut Self, tui: bool, trace_type: Option<TraceType>) -> Result<()> {
Expand Down
2 changes: 1 addition & 1 deletion src/view/query_result_view.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ impl QueryResultView {
}

let inner_table = self.table.get_inner_mut().get_inner_mut();
inner_table.set_items(items);
inner_table.set_items_stable(items);

return Ok(());
}
Expand Down

0 comments on commit c89b6a8

Please sign in to comment.