mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 14:03:23 -07:00
For now keeping "check for unstable updates" and fixing exception if a wrong mapping is used.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1884 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
0f8bd4ea0e
commit
85bcd49851
2 changed files with 6 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue