diff --git a/WeeXnes/App.xaml.cs b/WeeXnes/App.xaml.cs index c20cec4..383dc18 100644 --- a/WeeXnes/App.xaml.cs +++ b/WeeXnes/App.xaml.cs @@ -36,10 +36,6 @@ namespace WeeXnes Convert.ToBoolean(SettingsView.Data.settingsFile.GetValue( SaveSettingsHandler.Data.KeyManager.Section, SaveSettingsHandler.Data.KeyManager.CensorKeys)); - SettingsView.Data.Autostart.Value = - Convert.ToBoolean(SettingsView.Data.settingsFile.GetValue( - SaveSettingsHandler.Data.General.Section, - SaveSettingsHandler.Data.General.Autostart)); } diff --git a/WeeXnes/Core/SaveSettingsHandler.cs b/WeeXnes/Core/SaveSettingsHandler.cs index 7aa0a27..fa9e5b8 100644 --- a/WeeXnes/Core/SaveSettingsHandler.cs +++ b/WeeXnes/Core/SaveSettingsHandler.cs @@ -12,7 +12,6 @@ namespace WeeXnes.Core public static class General { public const string Section = "GENERAL"; - public const string Autostart = "Autostart"; } public static class KeyManager { @@ -43,14 +42,6 @@ namespace WeeXnes.Core KeyManagerView.Data.censorKeys.Value.ToString() ); }; - SettingsView.Data.Autostart.ValueChanged += () => - { - SettingsView.Data.settingsFile.SetValue( - Data.General.Section, - Data.General.Autostart, - SettingsView.Data.Autostart.Value.ToString() - ); - }; } } } \ No newline at end of file diff --git a/WeeXnes/Views/Settings/SettingsView.xaml b/WeeXnes/Views/Settings/SettingsView.xaml index c63844f..5459bcf 100644 --- a/WeeXnes/Views/Settings/SettingsView.xaml +++ b/WeeXnes/Views/Settings/SettingsView.xaml @@ -29,6 +29,18 @@ Name="DialogUpdate" ButtonLeftClick="DialogUpdate_OnButtonLeftClick" ButtonRightClick="DialogUpdate_OnButtonRightClick"/> + + + + + @@ -39,8 +51,15 @@ - + +