summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
}