summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorLeandro Pereira <leandro@hardinfo.org>2020-10-09 18:26:32 -0700
committerLeandro Pereira <leandro@hardinfo.org>2020-10-09 18:26:32 -0700
commit2180e3e38618f648093e3dfcdcd458d6aedad71e (patch)
tree6958b3776f9983b41b50910cd81d5f9932a39b1b /shell
parent4d8e68f34fabd3e387df3246cfc69425cea65eed (diff)
Ensure LoadGraph title is cleared when LG is cleared too
Diffstat (limited to 'shell')
-rw-r--r--shell/loadgraph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/loadgraph.c b/shell/loadgraph.c
index 36334718..cde0fa06 100644
--- a/shell/loadgraph.c
+++ b/shell/loadgraph.c
@@ -129,6 +129,8 @@ void load_graph_clear(LoadGraph * lg)
lg->max_value = 1;
lg->remax_count = 0;
+ load_graph_set_title(lg, "");
+
_draw(lg);
}