diff --git a/Il2CppInspector.GUI/HexStringValueConverter.cs b/Il2CppInspector.GUI/HexStringValueConverter.cs index a506b8a..a726f2a 100644 --- a/Il2CppInspector.GUI/HexStringValueConverter.cs +++ b/Il2CppInspector.GUI/HexStringValueConverter.cs @@ -29,7 +29,7 @@ namespace Il2CppInspector.GUI } public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) { - if (value == null || targetType != typeof(ulong)) + if (value == null || !new List { typeof(ulong), typeof(long), typeof(uint), typeof(int), typeof(ushort), typeof(short), typeof(byte) }.Contains(targetType)) return DependencyProperty.UnsetValue; try {