[gnome-chess/gnome-3-8] Game needs saving when the result is added



commit be1f14e60139c4b59c853dc2b434512d5d236d75
Author: Michael Catanzaro <mike catanzaro gmail com>
Date:   Sat Jun 22 19:38:34 2013 -0500

    Game needs saving when the result is added
    
    E.g. if you resign, the game wants to be saved to reflect that
    resignation
    
    https://bugzilla.gnome.org/show_bug.cgi?id=702157

 src/gnome-chess.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index f21b7ed..608034b 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -877,6 +877,8 @@ public class Application : Gtk.Application
         undo_menu.sensitive = undo_button.sensitive = false;
         claim_draw_menu.sensitive = false;
 
+        game_needs_saving = true;
+
         if (opponent_engine != null)
             opponent_engine.stop ();
 


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