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);
}
}
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) {