### Godot version

Godot 4 beta 12

### System information

Windows 10

### Issue description

![tttttt](https://user-images.githubusercontent.com/43501741/212407759-2e3cfa93-c9c1-4224-a118-2d236b0c5318.png)


### Steps to reproduce

Run a project in Godot 4 beta 12

### Minimal reproduction project

N/A
_save_docks();
		}
	}
}
void EditorNode::_scene_tab_script_edited(int p_tab) {
	Ref<Script> scr = editor_data.get_scene_root_script(p_tab);
	if (scr.is_valid()) {
		InspectorDock::get_singleton()->edit_resource(scr);
	}
}
void EditorNode::_scene_tab_closed(int p_tab, int option) {
	current_menu_option = option;
	tab_closing_idx = p_tab;
	Node *scene = editor_data.get_edited_scene_root(p_tab);
	if (!scene) {
		_discard_changes();
		return;
	}
	bool unsaved = get_undo_redo()->is_history_unsaved(editor_data.get_scene_history_id(p_tab));
	if (unsaved) {
		save_confirmation->set_ok_button_text(TTR("Save & Close"));
		save_confirmation->set_text(vformat(TTR("Save changes to '%s' before closing?"), !scene->get_scene_file_path().is_empty() ? scene->get_scene_file_path() : "unsaved scene"));
		save_confirmation->popup_centered();
	} else {
		_discard_changes();
	}
	save_layout();
	_update_scene_tabs();
}
void EditorNode::_scene_tab_hovered(int p_tab) {