diff --git a/GreenshotPlugin/Controls/GreenshotForm.cs b/GreenshotPlugin/Controls/GreenshotForm.cs index a5dfc1d89..3c558320e 100644 --- a/GreenshotPlugin/Controls/GreenshotForm.cs +++ b/GreenshotPlugin/Controls/GreenshotForm.cs @@ -393,6 +393,9 @@ namespace GreenshotPlugin.Controls { if (!string.IsNullOrEmpty(configBindable.SectionName) && !string.IsNullOrEmpty(configBindable.PropertyName)) { IniSection section = IniConfig.GetIniSection(configBindable.SectionName); if (section != null) { + if (!section.Values.ContainsKey(configBindable.PropertyName)) { + continue; + } if (typeof(CheckBox).IsAssignableFrom(field.FieldType)) { CheckBox checkBox = controlObject as CheckBox; section.Values[configBindable.PropertyName].Value = checkBox.Checked; diff --git a/GreenshotPlugin/Core/CoreConfiguration.cs b/GreenshotPlugin/Core/CoreConfiguration.cs index f5a179bd1..6dfc58e2c 100644 --- a/GreenshotPlugin/Core/CoreConfiguration.cs +++ b/GreenshotPlugin/Core/CoreConfiguration.cs @@ -174,8 +174,6 @@ namespace GreenshotPlugin.Core { [IniProperty("MinimizeWorkingSetSize", Description="Optimize memory footprint, but with a performance penalty!", DefaultValue="False")] public bool MinimizeWorkingSetSize; - - // change to false for releases [IniProperty("CheckUnstable", Description = "Also check for unstable version updates", DefaultValue = "False")] public bool CheckUnstable; @@ -285,6 +283,9 @@ namespace GreenshotPlugin.Core { /// This method will be called after reading the configuration, so eventually some corrections can be made /// public override void AfterLoad() { + // Comment with releases + CheckUnstable = true; + if (OutputDestinations == null) { OutputDestinations = new List(); }