summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quacker/quacker.cpp2
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);