Fix potential error
This commit is contained in:
@@ -563,7 +563,8 @@ namespace FlaxEditor.CustomEditors.Editors
|
|||||||
if (disableSingle && child is PropertyNameLabel)
|
if (disableSingle && child is PropertyNameLabel)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
child.Enabled = false;
|
if (child != null)
|
||||||
|
child.Enabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user