### 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
meta.push_back(infos[i].line);
			stack_trace->set_metadata(0, meta);
			if (i == 0) {
				stack_trace->set_text(0, "<" + TTR("Stack Trace") + ">");
				stack_trace->set_text_alignment(0, HORIZONTAL_ALIGNMENT_LEFT);
				error->set_metadata(0, meta);
				tooltip += TTR("Stack Trace:") + "\n";
			}
			String frame_txt = _format_frame_text(&infos[i]);
			tooltip += frame_txt + "\n";
			stack_trace->set_text(1, frame_txt);
		}
		error->set_tooltip_text(0, tooltip);
		error->set_tooltip_text(1, tooltip);
		if (warning_count == 0 && error_count == 0) {
			expand_all_button->set_disabled(false);
			collapse_all_button->set_disabled(false);
			clear_button->set_disabled(false);
		}
		if (oe.warning) {
			warning_count++;
		} else {
			error_count++;
		}
	} else if (p_msg == "servers:function_signature") {
		
		ServersDebugger::ScriptFunctionSignature sig;
		sig.deserialize(p_data);
		profiler_signature[sig.id] = sig.name;
	} else if (p_msg == "servers:profile_frame" || p_msg == "servers:profile_total") {