diff options
author | pommicket <pommicket@gmail.com> | 2025-08-25 12:59:12 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-08-25 12:59:12 -0400 |
commit | ab056904fdd65293652d0aefcb68ead73e8f5d8c (patch) | |
tree | 901f6f1fcbe7d0f38bce8e04a78a8579c2cf0c21 | |
parent | e944e827bb1dbddc8a3a1b15b8da1eb2d6836613 (diff) |
Fix old simulator results not being cleared after starting Macondov0.0.4
-rw-r--r-- | quacker/quacker.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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); |