### Godot version

Godot 4 beta 10

### System information

Windows 10, mobile mode

### Issue description

You can give a node a blank name by deleting its name and press enter
![image](https://user-images.githubusercontent.com/94725241/210934227-a3b42f81-f152-470e-be6f-645321b9060e.png)


### Steps to reproduce

1. Create any node
2. Double click it, you should now be able to rename it
3. Backspace, than enter
4. You got a node with no name

### Minimal reproduction project

N/A
if (p_button != MouseButton::RIGHT) {
		return;
	}
	_rmb_select(p_pos);
}
void SceneTreeEditor::_rmb_select(const Vector2 &p_pos, MouseButton p_button) {
	if (p_button != MouseButton::RIGHT) {
		return;
	}
	emit_signal(SNAME("rmb_pressed"), tree->get_screen_position() + p_pos);
}
void SceneTreeEditor::update_warning() {
	_warning_changed(nullptr);
}
void SceneTreeEditor::_warning_changed(Node *p_for_node) {
	//should use a timer
	update_timer->start();
}
void SceneTreeEditor::set_auto_expand_selected(bool p_auto, bool p_update_settings) {
	if (p_update_settings) {
		EditorSettings::get_singleton()->set("docks/scene_tree/auto_expand_to_selected", p_auto);
	}
	auto_expand_selected = p_auto;
}
void SceneTreeEditor::set_connect_to_script_mode(bool p_enable) {