[gnome-chess] Set game_needs_saving = false after a normal Save
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-chess] Set game_needs_saving = false after a normal Save
- Date: Sun, 6 Dec 2020 17:46:55 +0000 (UTC)
commit 1b7143072eff592a4d6c38f1aef83b1b10571726
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Sun Dec 6 11:44:35 2020 -0600
Set game_needs_saving = false after a normal Save
This currently only happens after Save As. Oops?
src/gnome-chess.vala | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index f8cbc11..c11800d 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -2428,6 +2428,7 @@ Copyright © 2015–2016 Sahil Sareen""";
try
{
pgn_game.write (game_file);
+ game_needs_saving = false;
disable_window_action (SAVE_GAME_ACTION_NAME);
}
catch (Error e)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]