From 3f995f4ff02234593fd9845cf671d15a0cc7bebd Mon Sep 17 00:00:00 2001 From: pizzaboxer Date: Mon, 29 Jul 2024 19:21:16 +0100 Subject: [PATCH] Fix null entry bug in flag editor (#2468) --- Bloxstrap/UI/Elements/Menu/Pages/FastFlagEditorPage.xaml.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Bloxstrap/UI/Elements/Menu/Pages/FastFlagEditorPage.xaml.cs b/Bloxstrap/UI/Elements/Menu/Pages/FastFlagEditorPage.xaml.cs index 767bb96..d8eaea6 100644 --- a/Bloxstrap/UI/Elements/Menu/Pages/FastFlagEditorPage.xaml.cs +++ b/Bloxstrap/UI/Elements/Menu/Pages/FastFlagEditorPage.xaml.cs @@ -240,6 +240,9 @@ namespace Bloxstrap.UI.Elements.Menu.Pages if (App.FastFlags.Prop.ContainsKey(pair.Key) && !overwriteConflicting) continue; + if (pair.Value is null) + continue; + var val = pair.Value.ToString(); if (val is null)