From 482f08018f336abf34fae0934bc60a7a55a1e802 Mon Sep 17 00:00:00 2001 From: Katy Coe Date: Wed, 23 Dec 2020 22:29:58 +0100 Subject: [PATCH] GUI: HexStringValueConvertor handles all numeric integer types --- Il2CppInspector.GUI/HexStringValueConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {