From bd9cc84fdc89d37e184e0a9134c994b11ca6008d Mon Sep 17 00:00:00 2001 From: Nathan Hold Date: Tue, 11 Jun 2019 00:37:41 +1000 Subject: [PATCH] Add option to remove array item and button to remove typed array item --- editor/editor_properties_array_dict.cpp | 61 ++++++++++++++++++------- editor/editor_properties_array_dict.h | 1 + 2 files changed, 45 insertions(+), 17 deletions(-) diff --git a/editor/editor_properties_array_dict.cpp b/editor/editor_properties_array_dict.cpp index 5f189596896..7c08bef6c72 100644 --- a/editor/editor_properties_array_dict.cpp +++ b/editor/editor_properties_array_dict.cpp @@ -183,16 +183,20 @@ void EditorPropertyArray::_property_changed(const String &p_prop, Variant p_valu void EditorPropertyArray::_change_type(Object *p_button, int p_index) { Button *button = Object::cast_to