also support non-public members
This commit is contained in:
parent
239cc7841c
commit
0f5d5958d0
@ -327,7 +327,7 @@ namespace UniversalEditor.UserInterface
|
||||
{
|
||||
foreach (Setting eo in sg.Settings)
|
||||
{
|
||||
System.Reflection.PropertyInfo pi = obj.GetType().GetProperty(eo.Name);
|
||||
System.Reflection.PropertyInfo pi = obj.GetType().GetProperty(eo.Name, System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance);
|
||||
if (pi == null) continue;
|
||||
|
||||
if (eo is RangeSetting)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user