### Godot version

3.5.1, 4.0 beta 10

### System information

Windows 10

### Issue description

I tried to set a shortcut for `Reparent to New Node`, but the shortcut doesn't trigger. As it's closest neighbour, I tried setting the same shortcut for `Reparent` without problems.

### Steps to reproduce

* Set editor shortcut for `Reparent to New Node` (I set it as Ctrl+G as to group nodes together, but anything is fine - it's not about conflicting shortcut)
* Select a node and press your chosen hotkey

### Minimal reproduction project

N/A (any project is fine, requires modifying editor settings anyway)
}
	List<Node *> selection = editor_selection->get_selected_node_list();
	List<Node *> full_selection = editor_selection->get_full_selected_node_list(); 
	if (selection.size() == 0) {
		return;
	}
	menu->clear();
	Ref<Script> existing_script;
	bool existing_script_removable = true;
	if (selection.size() == 1) {
		Node *selected = selection[0];
		if (profile_allow_editing) {
			subresources.clear();
			menu_subresources->clear();
			menu_subresources->reset_size();
			_add_children_to_popup(selection.front()->get(), 0);
			if (menu->get_item_count() > 0) {
				menu->add_separator();
			}
			menu->add_icon_shortcut(get_theme_icon(SNAME("Add"), SNAME("EditorIcons")), ED_GET_SHORTCUT("scene_tree/add_child_node"), TOOL_NEW);
			menu->add_icon_shortcut(get_theme_icon(SNAME("Instance"), SNAME("EditorIcons")), ED_GET_SHORTCUT("scene_tree/instantiate_scene"), TOOL_INSTANTIATE);
		}
		menu->add_icon_shortcut(get_theme_icon(SNAME("Collapse"), SNAME("EditorIcons")), ED_GET_SHORTCUT("scene_tree/expand_collapse_all"), TOOL_EXPAND_COLLAPSE);
		menu->add_separator();
		existing_script = selected->get_script();
		if (EditorNode::get_singleton()->get_object_custom_type_base(selected) == existing_script) {
			existing_script_removable = false;
		}
	}
	if (profile_allow_editing) {