### 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)
}
	}
	n->replace_by(newnode, true);
	if (n == edited_scene) {
		edited_scene = newnode;
		EditorNode::get_singleton()->set_edited_scene(newnode);
	}
	
	for (int i = 0; i < newnode->get_child_count(); i++) {
		Node *c = newnode->get_child(i);
		c->call("set_transform", c->call("get_transform"));
	}
	
	if (p_remove_old) {
		EditorNode::get_undo_redo()->clear_history();
	}
	newnode->set_name(newname);
	_push_item(newnode);
	if (p_remove_old) {
		memdelete(n);
		while (to_erase.front()) {
			memdelete(to_erase.front()->get());
			to_erase.pop_front();
		}
	}
}
void SceneTreeDock::set_edited_scene(Node *p_scene) {
	edited_scene = p_scene;
}
void SceneTreeDock::set_selected(Node *p_node, bool p_emit_selected) {