Fix potential error

This commit is contained in:
Wojtek Figat
2022-01-30 20:06:05 +01:00
parent e9fac4b504
commit 9b79d7df09

View File

@@ -563,7 +563,8 @@ namespace FlaxEditor.CustomEditors.Editors
if (disableSingle && child is PropertyNameLabel)
break;
child.Enabled = false;
if (child != null)
child.Enabled = false;
}
}
}