### Godot version

Godot 4.1.dev4

### System information

Ubuntu 22.04.2 LTS 22.04 - Vulkan (Forward+) - integrated Intel(R) HD Graphics 4400 (HSW GT2) () - Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz (4 Threads)

### Issue description

![image](https://github.com/godotengine/godot/assets/85438892/a61e8333-d9f0-40ec-a508-d301850d05e9)

Let's suppose I clicked this item, then scrolled around in my script, and I then wanted to check out the warning's line again. It wouldn't work without selecting another item first.

Should be an easy fix by setting `allow_reselect = true` in the underlying tree.

### Steps to reproduce

N/A

### Minimal reproduction project

N/A
bool source_is_project_file = oe.source_file.begins_with("res://");
		
		Array source_meta;
		source_meta.push_back(oe.source_file);
		source_meta.push_back(oe.source_line);
		
		TreeItem *r = error_tree->get_root();
		if (!r) {
			r = error_tree->create_item();
		}
		
		
		String tooltip = oe.warning ? TTR("Warning:") : TTR("Error:");
		TreeItem *error = error_tree->create_item(r);
		if (oe.warning) {
			error->set_meta("_is_warning", true);
		} else {
			error->set_meta("_is_error", true);
		}
		error->set_collapsed(true);
		error->set_icon(0, get_theme_icon(oe.warning ? SNAME("Warning") : SNAME("Error"), SNAME("EditorIcons")));
		error->set_text(0, time);
		error->set_text_alignment(0, HORIZONTAL_ALIGNMENT_LEFT);
		const Color color = get_theme_color(oe.warning ? SNAME("warning_color") : SNAME("error_color"), SNAME("Editor"));
		error->set_custom_color(0, color);
		error->set_custom_color(1, color);
		String error_title;
		if (oe.callstack.size() > 0) {
			
			error_title = _format_frame_text(&oe.callstack[0]) + ": ";