From 4d8e68f34fabd3e387df3246cfc69425cea65eed Mon Sep 17 00:00:00 2001 From: Sergio Vieira Date: Thu, 8 Oct 2020 13:04:54 -0300 Subject: Show graph's title at selecting sensor item --- shell/shell.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell/shell.c') diff --git a/shell/shell.c b/shell/shell.c index 1bcdb714..bfa5dc8c 100644 --- a/shell/shell.c +++ b/shell/shell.c @@ -844,6 +844,8 @@ static gboolean update_field(gpointer data) if (shell->view_type == SHELL_VIEW_LOAD_GRAPH && gtk_tree_selection_iter_is_selected(shell->info_tree->selection, item->iter)) { + + load_graph_set_title(shell->loadgraph, fu->field_name); load_graph_update(shell->loadgraph, atof(value)); } -- cgit v1.2.3