[longomatch] Store autosave property correctly



commit 030ad6b64914c538a5c21bd75e5fd87645281f1f
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date:   Wed Jun 26 14:26:52 2013 +0200

    Store autosave property correctly

 .../Gui/Component/GeneralPreferencesPanel.cs       |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/LongoMatch.GUI/Gui/Component/GeneralPreferencesPanel.cs 
b/LongoMatch.GUI/Gui/Component/GeneralPreferencesPanel.cs
index 775c35b..8f23581 100644
--- a/LongoMatch.GUI/Gui/Component/GeneralPreferencesPanel.cs
+++ b/LongoMatch.GUI/Gui/Component/GeneralPreferencesPanel.cs
@@ -41,6 +41,7 @@ namespace LongoMatch.Gui.Component
                        autosavecb.CanFocus = false;
                        autosavecb.Show();
                        autosavecb.Active = Config.AutoSave;
+                       autosavecb.Toggled += (sender, e) => {Config.AutoSave = autosavecb.Active;};
                }
                
                void FillLangs () {


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