From 211f627c7977e524f0ffacde5c938cac81dbedd4 Mon Sep 17 00:00:00 2001 From: hwspeedy Date: Fri, 23 Feb 2024 23:45:48 +0100 Subject: FIX Ubergraph clear - Fixes sensors incorrect --- shell/loadgraph-uber.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/loadgraph-uber.c b/shell/loadgraph-uber.c index 08f1e2b5..eeee6051 100644 --- a/shell/loadgraph-uber.c +++ b/shell/loadgraph-uber.c @@ -81,11 +81,12 @@ void load_graph_set_title(LoadGraph * lg, const gchar *title) void load_graph_clear(LoadGraph * lg) { - int i; + int i; if (lg != NULL) { for (i = 0; i < LG_MAX_LINES; i++) { lg->cur_value[i] = UBER_LINE_GRAPH_NO_VALUE; } + uber_line_graph_clear(UBER_LINE_GRAPH(lg->uber_widget)); uber_graph_scale_changed(UBER_GRAPH(lg->uber_widget)); } } -- cgit v1.2.3