diff options
author | pommicket <pommicket@gmail.com> | 2025-08-21 14:32:29 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-08-21 14:32:29 -0400 |
commit | 4702e6bb96ed5f943039956224b8a5e28d862c75 (patch) | |
tree | 1d4542d55cc6114c54f3c9b94a7b3166785c2162 /quacker/quacker.cpp | |
parent | fe37762ef767818eb7edfb8de4e64bc638b3db5b (diff) |
Fix bug with Macondo simulate
Diffstat (limited to 'quacker/quacker.cpp')
-rw-r--r-- | quacker/quacker.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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(); } |