aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhwspeedy <ns@bigbear.dk>2024-02-23 23:45:48 +0100
committerhwspeedy <ns@bigbear.dk>2024-02-23 23:45:48 +0100
commit211f627c7977e524f0ffacde5c938cac81dbedd4 (patch)
tree36ff0701adefcadc05ce2fec3e4fa47611d5e3de
parent2f1f991fdf5f2d2274b883fad979fe1458639a17 (diff)
FIX Ubergraph clear - Fixes sensors incorrect
-rw-r--r--shell/loadgraph-uber.c3
1 files changed, 2 insertions, 1 deletions
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));
}
}