From eefa2dad9a152ba704d6c2b8cf79cbaeef460aec Mon Sep 17 00:00:00 2001 From: Hendrik Mennen Date: Fri, 5 Apr 2024 15:21:44 +0200 Subject: [PATCH] wavedatatype --- src/OneWare.Essentials/Converters/ObjectsEqualConverter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OneWare.Essentials/Converters/ObjectsEqualConverter.cs b/src/OneWare.Essentials/Converters/ObjectsEqualConverter.cs index 2ef3f0a..0c92e34 100644 --- a/src/OneWare.Essentials/Converters/ObjectsEqualConverter.cs +++ b/src/OneWare.Essentials/Converters/ObjectsEqualConverter.cs @@ -8,7 +8,7 @@ public class ObjectsEqualConverter : IMultiValueConverter public object Convert(IList values, Type targetType, object? parameter, CultureInfo culture) { for (var i = 0; i < values.Count; i++) - if (values[i] != values[0]) + if (!values[i]?.Equals(values[0]) ?? false) return false; return true; }