X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcursesdisplay.c;h=0e2b5679fd44c4866e122f4a1bccc4ba69bdfa19;hb=d9dbc420f911f8e52a79cdb56a7c82d256145137;hp=939920998a61b6396aee8de7c521fe20cf166b88;hpb=7121c2890c0e4fb9eca589c0dbb2dc02bf115a79;p=lttngtop.git diff --git a/src/cursesdisplay.c b/src/cursesdisplay.c index 9399209..0e2b567 100644 --- a/src/cursesdisplay.c +++ b/src/cursesdisplay.c @@ -244,7 +244,7 @@ void update_selected_processes() if (process_selected(selected_process)) { remove_filter_tid_list(selected_process->tid); } else { - add_filter_tid_list(selected_process->tid, selected_process); + add_filter_tid_list(selected_process); } } @@ -1346,6 +1346,7 @@ void update_hostname_pref(int *line_selected, int toggle_filter, int toggle_sort host = g_hash_table_lookup(global_host_list, hostlist->data); if (i == *line_selected && toggle_filter == 1) { host->filter = host->filter == 1 ? 0:1; + update_hostname_filter(host); update_current_view(); } if (i == *line_selected) {