Lua Forms: Fixed a bug with SetProperty

This commit is contained in:
pjgat09 2015-04-05 04:11:00 +00:00
parent ac9f77ad00
commit 57fa633a9e
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ namespace BizHawk.Client.EmuHawk
control
.GetType()
.GetProperty(property)
.SetValue(control, Convert.ChangeType(value, form.GetType().GetProperty(property).PropertyType), null);
.SetValue(control, Convert.ChangeType(value, control.GetType().GetProperty(property).PropertyType), null);
}
}
}