From 9cdab52556b567c769d40c3bd02a044be60ad23a Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sat, 6 Mar 2021 21:49:33 -0800 Subject: [PATCH] Fix system selection regression --- MPF/ComboBoxItems/Element.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MPF/ComboBoxItems/Element.cs b/MPF/ComboBoxItems/Element.cs index 7e8d99d9..b0167bdf 100644 --- a/MPF/ComboBoxItems/Element.cs +++ b/MPF/ComboBoxItems/Element.cs @@ -19,7 +19,7 @@ namespace MPF /// Allow elements to be used as their internal enum type /// /// - public static implicit operator T? (Element item) => item.Data; + public static implicit operator T? (Element item) => item?.Data; /// public string Name => Converters.GetLongName(Data);