From 4702e6bb96ed5f943039956224b8a5e28d862c75 Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 21 Aug 2025 14:32:29 -0400 Subject: Fix bug with Macondo simulate --- quacker/quacker.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'quacker/quacker.cpp') diff --git a/quacker/quacker.cpp b/quacker/quacker.cpp index cf1b4c7..c15b826 100644 --- a/quacker/quacker.cpp +++ b/quacker/quacker.cpp @@ -1063,11 +1063,10 @@ void TopLevel::simulate(bool startSimulation) // it's not so useful to have sim control show/hide // like this //m_simulatorWidget->setVisible(startSimulation); - if (m_macondo->useForSimulation()) { - m_macondo->simulate(); - } if (startSimulation) { + if (m_macondo->useForSimulation()) + m_macondo->simulate(); logfileChanged(); incrementSimulation(); } -- cgit v1.2.3