From b721c4a19a10f436329f2441156f45b19924205a Mon Sep 17 00:00:00 2001 From: pommicket Date: Thu, 21 Aug 2025 21:38:39 -0400 Subject: Save Macondo settings --- quacker/quacker.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'quacker/quacker.cpp') 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(); } -- cgit v1.2.3