### 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
ObjectID id = inspector->add_object(p_data);
		if (id.is_valid()) {
			emit_signal(SNAME("remote_object_updated"), id);
		}
	} else if (p_msg == "servers:memory_usage") {
		vmem_tree->clear();
		TreeItem *root = vmem_tree->create_item();
		ServersDebugger::ResourceUsage usage;
		usage.deserialize(p_data);
		uint64_t total = 0;
		for (const ServersDebugger::ResourceInfo &E : usage.infos) {
			TreeItem *it = vmem_tree->create_item(root);
			String type = E.type;
			int bytes = E.vram;
			it->set_text(0, E.path);
			it->set_text(1, type);
			it->set_text(2, E.format);
			it->set_text(3, String::humanize_size(bytes));
			total += bytes;
			if (has_theme_icon(type, SNAME("EditorIcons"))) {
				it->set_icon(0, get_theme_icon(type, SNAME("EditorIcons")));
			}
		}
		vmem_total->set_tooltip_text(TTR("Bytes:") + " " + itos(total));
		vmem_total->set_text(String::humanize_size(total));
	} else if (p_msg == "servers:drawn") {
		can_request_idle_draw = true;
	} else if (p_msg == "stack_dump") {
		DebuggerMarshalls::ScriptStackDump stack;
		stack.deserialize(p_data);