diff --git a/retroshare-gui/src/gui/statistics/BWGraph.cpp b/retroshare-gui/src/gui/statistics/BWGraph.cpp index 3ec24071f..2f352aa85 100644 --- a/retroshare-gui/src/gui/statistics/BWGraph.cpp +++ b/retroshare-gui/src/gui/statistics/BWGraph.cpp @@ -63,7 +63,11 @@ void BWGraphSource::update() // now, convert data to current curve points. std::map vals ; - convertTrafficClueToValues(thc.out_rstcl,vals) ; + + if(_current_direction == BWGraphSource::DIRECTION_UP) + convertTrafficClueToValues(thc.out_rstcl,vals) ; + else + convertTrafficClueToValues(thc.in_rstcl,vals) ; qint64 ms = getTime() ;