[gnome-mahjongg] Ensure game is unpaused after Restart Game



commit ae31034f805fcc775a46e08a35c7a3ddc20ad6a8
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Feb 20 00:36:37 2014 -0600

    Ensure game is unpaused after Restart Game

 src/gnome-mahjongg.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-mahjongg.vala b/src/gnome-mahjongg.vala
index 20fea52..e22bc5a 100644
--- a/src/gnome-mahjongg.vala
+++ b/src/gnome-mahjongg.vala
@@ -612,6 +612,8 @@ public class Mahjongg : Gtk.Application
     private void restart_game ()
     {
         game_view.game.reset ();
+        if (game_view.game.paused)
+            pause_cb ();
         update_ui ();
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]