[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegames/kajongg/src
From:       Wolfgang Rohdewald <wolfgang () rohdewald ! de>
Date:       2012-03-09 10:46:47
Message-ID: 20120309104647.01DC1AC89C () svn ! kde ! org
[Download RAW message or body]

SVN commit 1284571 by wrohdewald:

Playfield: abortGame() now clears demo mode

 M  +3 -0      playfield.py  


--- trunk/KDE/kdegames/kajongg/src/playfield.py #1284570:1284571
@@ -592,6 +592,8 @@
     def abortGame(self, callback=None):
         """if a game is active, abort it"""
         self.actionAutoPlay.setChecked(False)
+        InternalParameters.autoPlay = False
+        self.startingGame = False
         if self.game:
             if self.game.client:
                 return self.game.client.abortGame(callback)
@@ -599,6 +601,7 @@
                 self.game.close()
         if callback:
             callback()
+        self.updateGUI()
         return True
 
     def closeEvent(self, event):
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic