Skip to content

Commit d113a68

Browse files
committed
fix focus on reorder array
1 parent 3978628 commit d113a68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

editor/editor_properties_array_dict.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,7 @@ void EditorPropertyArray::_reorder_button_up() {
819819
array.call("remove_at", reorder_slot.index);
820820
array.call("insert", reorder_to_index, value_to_move);
821821

822+
slots[reorder_to_index % page_length].reorder_button->grab_focus();
822823
emit_changed(get_edited_property(), array);
823824
}
824825

0 commit comments

Comments
 (0)