diff options
author | pommicket <pommicket@gmail.com> | 2025-08-21 21:38:39 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-08-21 21:38:39 -0400 |
commit | b721c4a19a10f436329f2441156f45b19924205a (patch) | |
tree | e411c55fa1a1ef8adacee6c887e4b46481792833 /quacker/quacker.cpp | |
parent | a807b7349c0366ea105098c36b42af9dba2e4909 (diff) |
Save Macondo settings
Diffstat (limited to 'quacker/quacker.cpp')
-rw-r--r-- | quacker/quacker.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/quacker/quacker.cpp b/quacker/quacker.cpp index cde9175..32486e0 100644 --- a/quacker/quacker.cpp +++ b/quacker/quacker.cpp @@ -1066,8 +1066,13 @@ void TopLevel::simulate(bool startSimulation) //m_simulatorWidget->setVisible(startSimulation); if (startSimulation) { - if (m_macondo->useForSimulation()) - m_macondo->simulate(); + if (m_macondo->useForSimulation()) { + if (!m_macondo->simulate()) { + // Macondo failed to start + m_simulateAction->setChecked(false); + return; + } + } logfileChanged(); incrementSimulation(); } |