1
0
Fork 0

Merge pull request #89763 from ajreckof/fix-focus-on-reorder

Fix focus when reordering array
This commit is contained in:
Thaddeus Crews 2025-01-16 17:17:42 -06:00
commit d6adc775a4
No known key found for this signature in database
GPG Key ID: 62181B86FE9E5D84
1 changed files with 1 additions and 0 deletions

View File

@ -881,6 +881,7 @@ void EditorPropertyArray::_reorder_button_up() {
array.call("remove_at", reorder_slot.index); array.call("remove_at", reorder_slot.index);
array.call("insert", reorder_to_index, value_to_move); array.call("insert", reorder_to_index, value_to_move);
slots[reorder_to_index % page_length].reorder_button->grab_focus();
emit_changed(get_edited_property(), array); emit_changed(get_edited_property(), array);
} }