From ab056904fdd65293652d0aefcb68ead73e8f5d8c Mon Sep 17 00:00:00 2001 From: pommicket Date: Mon, 25 Aug 2025 12:59:12 -0400 Subject: Fix old simulator results not being cleared after starting Macondo --- quacker/quacker.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'quacker') diff --git a/quacker/quacker.cpp b/quacker/quacker.cpp index c54e08a..744c33e 100644 --- a/quacker/quacker.cpp +++ b/quacker/quacker.cpp @@ -1063,6 +1063,8 @@ void TopLevel::simulate(bool startSimulation) if (startSimulation) { if (m_macondo->useForSimulation()) { + // clear Quackle simulator results if it was used before this + clearSimulationResults(); if (!m_macondo->simulate()) { // Macondo failed to start m_simulateAction->setChecked(false); -- cgit v1.2.3