aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trace-graph.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/trace-graph.c b/trace-graph.c
index 2ad7c2f..623abcb 100644
--- a/trace-graph.c
+++ b/trace-graph.c
@@ -426,6 +426,7 @@ plot_task_clicked (gpointer data)
426 struct graph_info *ginfo = data; 426 struct graph_info *ginfo = data;
427 427
428 graph_plot_task(ginfo, ginfo->filter_task_selected); 428 graph_plot_task(ginfo, ginfo->filter_task_selected);
429 ginfo->draw_height = PLOT_SPACE(ginfo->plots);
429 redraw_graph(ginfo); 430 redraw_graph(ginfo);
430 update_label_window(ginfo); 431 update_label_window(ginfo);
431} 432}
@@ -440,6 +441,7 @@ remove_plot_clicked (gpointer data)
440 return; 441 return;
441 442
442 trace_graph_plot_remove(ginfo, plot); 443 trace_graph_plot_remove(ginfo, plot);
444 ginfo->draw_height = PLOT_SPACE(ginfo->plots);
443 redraw_graph(ginfo); 445 redraw_graph(ginfo);
444 update_label_window(ginfo); 446 update_label_window(ginfo);
445} 447}