From db41ebdabef8a7964ed92054ee7346cfded7179c Mon Sep 17 00:00:00 2001 From: Tim Moore Date: Fri, 4 Dec 2009 19:30:08 +0100 Subject: Add new graph output to the last graph --- grapher/GraphWidget.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'grapher/GraphWidget.cxx') diff --git a/grapher/GraphWidget.cxx b/grapher/GraphWidget.cxx index 3d38627f..739d9450 100644 --- a/grapher/GraphWidget.cxx +++ b/grapher/GraphWidget.cxx @@ -84,7 +84,7 @@ namespace systemtap void GraphWidget::addGraphData(shared_ptr data) { - _graphs[0]->addGraphData(data); + _graphs.back()->addGraphData(data); _graphData.push_back(data); } -- cgit