diff --git a/src/classes/PMusrCanvas.cpp b/src/classes/PMusrCanvas.cpp index 81dac627..8bfa7974 100644 --- a/src/classes/PMusrCanvas.cpp +++ b/src/classes/PMusrCanvas.cpp @@ -939,6 +939,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); }