Skip to content

Commit 2551986

Browse files
authored
Merge pull request #92225 from ajreckof/fix-multiline-array
Fix array variable with `@export_multiline` not registering changes.
2 parents a6ef250 + 0e8abb5 commit 2551986

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

editor/editor_properties_array_dict.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,9 @@ void EditorPropertyArray::_property_changed(const String &p_property, Variant p_
235235
Variant array = object->get_array().duplicate();
236236
array.set(index, p_value);
237237
emit_changed(get_edited_property(), array, p_name, p_changing);
238+
if (p_changing) {
239+
object->set_array(array);
240+
}
238241
}
239242

240243
void EditorPropertyArray::_change_type(Object *p_button, int p_slot_index) {

0 commit comments

Comments
 (0)