summaryrefslogtreecommitdiffstats
path: root/grapher/GraphWidget.cxx
diff options
context:
space:
mode:
authorTim Moore <timoore@redhat.com>2009-12-04 19:30:08 +0100
committerTim Moore <timoore@redhat.com>2009-12-04 19:30:08 +0100
commitdb41ebdabef8a7964ed92054ee7346cfded7179c (patch)
treebf606a6554c6375d4d59d6f49e4b62b8bc0fe1cf /grapher/GraphWidget.cxx
parent8d6779975df8f3bef98ad2b2ae4ce310a543f781 (diff)
downloadsystemtap-steved-db41ebdabef8a7964ed92054ee7346cfded7179c.tar.gz
systemtap-steved-db41ebdabef8a7964ed92054ee7346cfded7179c.tar.xz
systemtap-steved-db41ebdabef8a7964ed92054ee7346cfded7179c.zip
Add new graph output to the last graph
Diffstat (limited to 'grapher/GraphWidget.cxx')
-rw-r--r--grapher/GraphWidget.cxx2
1 files changed, 1 insertions, 1 deletions
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<GraphDataBase> data)
{
- _graphs[0]->addGraphData(data);
+ _graphs.back()->addGraphData(data);
_graphData.push_back(data);
}