diff --git a/src/GCodes/GCodes.cpp b/src/GCodes/GCodes.cpp index 738a1b3659..f0854a6820 100644 --- a/src/GCodes/GCodes.cpp +++ b/src/GCodes/GCodes.cpp @@ -4449,7 +4449,7 @@ void GCodes::StopPrint(GCodeBuffer *gbp, StopPrintReason reason) noexcept simulationMode = SimulationMode::off; // do this after we append the simulation info to the file so that DWC doesn't try to reload the file info too soon reprap.GetMove().Simulate(simulationMode); EndSimulation(nullptr); - reprap.GetPrintMonitor().StoppedPrint(); // must do this after printing the simulation details not before, because it clears the filename and pause time + reprap.GetPrintMonitor().StoppedPrint(); const uint32_t simMinutes = lrintf(simSeconds/60.0); if (reason == StopPrintReason::normalCompletion)