summaryrefslogtreecommitdiff
path: root/quacker/quacker.cpp
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2025-08-21 15:12:03 -0400
committerpommicket <pommicket@gmail.com>2025-08-21 15:12:03 -0400
commitf7bba783ccf693ccb92c870562931ef3377852f0 (patch)
tree826dddad51b29e1ed7d475f21ecc1f0fe5bd8ea6 /quacker/quacker.cpp
parent4702e6bb96ed5f943039956224b8a5e28d862c75 (diff)
"Generated moves only" checkbox
Diffstat (limited to 'quacker/quacker.cpp')
-rw-r--r--quacker/quacker.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/quacker/quacker.cpp b/quacker/quacker.cpp
index c15b826..cde9175 100644
--- a/quacker/quacker.cpp
+++ b/quacker/quacker.cpp
@@ -1047,6 +1047,7 @@ void TopLevel::commitTopChoice()
void TopLevel::ensureUpToDateSimulatorMoveList()
{
m_simulator->setIncludedMoves(m_game->currentPosition().moves());
+ m_macondo->clearMoves();
}
void TopLevel::simulate(bool startSimulation)
@@ -1106,6 +1107,7 @@ void TopLevel::clearSimulationResults()
return;
m_simulator->resetNumbers();
+ m_macondo->clearMoves();
updateMoveViews();
updateSimViews();
@@ -2043,6 +2045,7 @@ void TopLevel::createWidgets()
m_macondo = new Macondo(m_game);
plugIntoMatrix(m_macondo);
plugIntoPositionMatrix(m_macondo);
+ plugIntoMoveMatrix(m_macondo);
connect(m_macondo, SIGNAL(runningSolver()), this, SLOT(simulate()));
connect(m_macondo, SIGNAL(stoppedSolver()), this, SLOT(stopSimulation()));