Fix editing array of CultureInfo values

This commit is contained in:
2026-07-17 15:49:27 +02:00
parent c95ea4a503
commit c3e9edc42f
@@ -67,9 +67,9 @@ namespace FlaxEditor.CustomEditors.Editors
}
set
{
if (Values[0] is CultureInfo)
if (Values[0] is CultureInfo || Values.Type == typeof(CultureInfo))
SetValue(value);
else if (Values[0] is string)
else if (Values[0] is string || Values.Type == typeof(string))
SetValue(value.Name);
}
}