diff --git a/Source/Editor/CustomEditors/CustomEditor.cs b/Source/Editor/CustomEditors/CustomEditor.cs index 32111e51c..9de330213 100644 --- a/Source/Editor/CustomEditors/CustomEditor.cs +++ b/Source/Editor/CustomEditors/CustomEditor.cs @@ -157,7 +157,7 @@ namespace FlaxEditor.CustomEditors var values = _values; var presenter = _presenter; var layout = _layout; - if (layout.Editors.Count != 1) + if (layout.Editors.Count > 1) { // There are more editors using the same layout so rebuild parent editor to prevent removing others editors _parent?.RebuildLayout();