diff --git a/PKHeX.WinForms/Subforms/PKM Editors/BatchEditor.cs b/PKHeX.WinForms/Subforms/PKM Editors/BatchEditor.cs index 6d07460f5..abd8d1b32 100644 --- a/PKHeX.WinForms/Subforms/PKM Editors/BatchEditor.cs +++ b/PKHeX.WinForms/Subforms/PKM Editors/BatchEditor.cs @@ -86,7 +86,7 @@ private void CB_Property_SelectedIndexChanged(object sender, EventArgs e) L_PropType.Text = BatchEditing.GetPropertyType(CB_Property.Text, CB_Format.SelectedIndex); if (BatchEditing.TryGetHasProperty(pkmref, CB_Property.Text, out var pi)) { - L_PropValue.Text = pi.GetValue(pkmref).ToString(); + L_PropValue.Text = pi.GetValue(pkmref)?.ToString(); L_PropType.ForeColor = L_PropValue.ForeColor; // reset color } else // no property, flag