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



commit 50243126b518c9a509e23d178355cef988922edf
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 2b7430f..35092b8 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -878,6 +878,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]