/// <summary> /// Call this when EditorItem is created /// </summary> /// <param name="obj"></param> public void EditorItemCreated(EditorItem item) { if (!Disabled) { EditorCreateAction action = new EditorCreateAction(item); actions.Insert(currentActionIndex, action); currentActionIndex++; RemoveNotValidItems(); EditorController.Instance.ProjectSaved = false; } }