summaryrefslogtreecommitdiffstats
path: root/editor/editor_properties_array_dict.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-06-24 10:59:35 +0200
committerGitHub <noreply@github.com>2023-06-24 10:59:35 +0200
commit1ee26976820c000743abaf2ad572af718062b8ee (patch)
treeef013c81b53cf96a13077883c1a779fbf85d3c23 /editor/editor_properties_array_dict.cpp
parent24e75022792c8389e5f2f0f3ca85bd6036054337 (diff)
downloadredot-engine-1ee26976820c000743abaf2ad572af718062b8ee.tar.gz
Revert "Fix paste value not updated in dictionaries/arrays"
Diffstat (limited to 'editor/editor_properties_array_dict.cpp')
-rw-r--r--editor/editor_properties_array_dict.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/editor/editor_properties_array_dict.cpp b/editor/editor_properties_array_dict.cpp
index cd5cafc42f..3a84fcb785 100644
--- a/editor/editor_properties_array_dict.cpp
+++ b/editor/editor_properties_array_dict.cpp
@@ -208,9 +208,6 @@ void EditorPropertyArray::_property_changed(const String &p_property, Variant p_
array.set(index, p_value);
object->set_array(array);
emit_changed(get_edited_property(), array, "", true);
- if (!p_changing) {
- update_property();
- }
}
void EditorPropertyArray::_change_type(Object *p_button, int p_index) {
@@ -741,9 +738,6 @@ void EditorPropertyDictionary::_property_changed(const String &p_property, Varia
object->set_dict(dict);
emit_changed(get_edited_property(), dict, "", true);
}
- if (!p_changing) {
- update_property();
- }
}
void EditorPropertyDictionary::_change_type(Object *p_button, int p_index) {