Lua Forms: Fixed a bug with SetProperty
This commit is contained in:
parent
ac9f77ad00
commit
57fa633a9e
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue