From: Tim Moore Date: Fri, 4 Dec 2009 18:30:08 +0000 (+0100) Subject: Add new graph output to the last graph X-Git-Tag: release-1.0.9~40^2~21 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=db41ebdabef8a7964ed92054ee7346cfded7179c;p=systemtap.git Add new graph output to the last graph --- diff --git a/grapher/GraphWidget.cxx b/grapher/GraphWidget.cxx index 3d38627f3..739d9450b 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); }