Merge pull request #78643 from godotengine/revert-76711-fix-paste-value-not-updating-element-in-dictionaries/array

Revert "Fix paste value not updated in dictionaries/arrays"
This commit is contained in:
Rémi Verschelde 2023-06-24 11:58:01 +02:00 committed by GitHub
commit 030c1a950e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {