diff --git a/Source/Core/Controls/FieldsEditorRow.cs b/Source/Core/Controls/FieldsEditorRow.cs index 3d7ffc07..3a4d78d7 100755 --- a/Source/Core/Controls/FieldsEditorRow.cs +++ b/Source/Core/Controls/FieldsEditorRow.cs @@ -260,12 +260,12 @@ namespace CodeImp.DoomBuilder.Controls // This defines the field public void Define(object value) { - //mxd. Don't count as defined when default value is passed - if(value.ToString() == fieldtype.GetDefaultValue().ToString()) return; - - // Now defined fieldtype.SetValue(value); this.Cells[2].Value = fieldtype.GetStringValue(); + + //mxd. Don't count as defined when default value is passed + if (value.ToString() == fieldtype.GetDefaultValue().ToString()) return; + this.DefaultCellStyle.ForeColor = (rowtype == FieldsEditorRowType.USERVAR ? SystemColors.HotTrack : SystemColors.WindowText); isdefined = true; }