Commits

Anonymous committed 0497b1a

Don't show the score dialog twice if the game ends with two simultaneously running animations.

BUG: 259558
FIXED-IN: 4.7

Comments (0)

Files changed (1)

knetwalk/src/fielditem.cpp

 
 void FieldItem::checkIfGameEnded()
 {
+	if (m_gameEnded)
+		return;
+
     foreach (AbstractCell* cell, cells()) {
         if (cell->cables() != None && !cell->isConnected()) {
             if (!m_terminalsConnectedEmitted && allTerminalsConnected()) {