Pause button hidden at start of all games
authorHeli Hyvättinen <heli.hyvattinen@kymp.net>
Tue, 11 Oct 2011 18:24:52 +0000 (21:24 +0300)
committerHeli Hyvättinen <heli.hyvattinen@kymp.net>
Tue, 11 Oct 2011 18:24:52 +0000 (21:24 +0300)
Was only hidden at the start of the first game before (a bug).

qml/ClocksPage.qml

index 3637759..b8a3d57 100644 (file)
@@ -45,7 +45,10 @@ Page
     onStatusChanged:
     {
         if (status == PageStatus.Activating)
+        {
               wrappedClocksWidget.startGame(timeControl,whiteInitialTime,whiteAdditionalTime,whiteTurnsPerAddition,blackInitialTime,blackAdditionalTime,blackTurnsPerAddition)
+              pauseButton.visible = false
+        }
     }
 
     property bool appActive: applicationActive