diff options
-rw-r--r-- | trace-graph.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/trace-graph.c b/trace-graph.c index 59397cf..2214141 100644 --- a/trace-graph.c +++ b/trace-graph.c | |||
@@ -434,7 +434,8 @@ plot_task_clicked (gpointer data) | |||
434 | 434 | ||
435 | graph_plot_task(ginfo, ginfo->filter_task_selected, pos); | 435 | graph_plot_task(ginfo, ginfo->filter_task_selected, pos); |
436 | ginfo->draw_height = PLOT_SPACE(ginfo->plots); | 436 | ginfo->draw_height = PLOT_SPACE(ginfo->plots); |
437 | redraw_graph(ginfo); | 437 | ginfo->draw_height = PLOT_SPACE(ginfo->plots); |
438 | gtk_widget_set_size_request(ginfo->draw, ginfo->draw_width, ginfo->draw_height); | ||
438 | update_label_window(ginfo); | 439 | update_label_window(ginfo); |
439 | } | 440 | } |
440 | 441 | ||
@@ -449,7 +450,7 @@ remove_plot_clicked (gpointer data) | |||
449 | 450 | ||
450 | trace_graph_plot_remove(ginfo, plot); | 451 | trace_graph_plot_remove(ginfo, plot); |
451 | ginfo->draw_height = PLOT_SPACE(ginfo->plots); | 452 | ginfo->draw_height = PLOT_SPACE(ginfo->plots); |
452 | redraw_graph(ginfo); | 453 | gtk_widget_set_size_request(ginfo->draw, ginfo->draw_width, ginfo->draw_height); |
453 | update_label_window(ginfo); | 454 | update_label_window(ginfo); |
454 | } | 455 | } |
455 | 456 | ||