From c76c84e059995b2f23ff8a4cb0425c6fed03081d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Teuli=C3=A8re?= Date: Wed, 9 Jan 2013 17:39:39 +0100 Subject: [PATCH] GameSignals: emit the gameRackChanged() signal even if this is not the last turn --- qt/game_signals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/game_signals.cpp b/qt/game_signals.cpp index 6489586..faeb49f 100644 --- a/qt/game_signals.cpp +++ b/qt/game_signals.cpp @@ -69,7 +69,7 @@ void GameSignals::notifyGameUpdated() emit newTurn(currTurn); } // Emit the gameRackChanged() signal if needed - if (isLastTurn && m_game->getCurrentRack().toString(PlayedRack::RACK_EXTRA) != m_lastGameRack.toString(PlayedRack::RACK_EXTRA)) + if (m_game->getCurrentRack().toString(PlayedRack::RACK_EXTRA) != m_lastGameRack.toString(PlayedRack::RACK_EXTRA)) { m_lastGameRack = m_game->getCurrentRack(); LOG_DEBUG("Emitting gameRackChanged(" << lfw(m_lastGameRack.toString()) << ")");