diff --git a/src/classes/PMusrCanvas.cpp b/src/classes/PMusrCanvas.cpp index 0f580103..a12d568b 100644 --- a/src/classes/PMusrCanvas.cpp +++ b/src/classes/PMusrCanvas.cpp @@ -941,6 +941,7 @@ void PMusrCanvas::HandleCmdKey(Int_t event, Int_t x, Int_t y, TObject *selected) if (fBatchMode) { if (fStartWithAvg) { // this is needed to get the averaging in the batch mode + fAveragedView = fStartWithAvg; HandleAverage(); PlotAverage(true); }