### 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
profiler->add_frame_metric(metric, false);
		} else {
			profiler->add_frame_metric(metric, true);
		}
	} else if (p_msg == "request_quit") {
		emit_signal(SNAME("stop_requested"));
		_stop_and_notify();
	} else if (p_msg == "performance:profile_names") {
		Vector<StringName> monitors;
		monitors.resize(p_data.size());
		for (int i = 0; i < p_data.size(); i++) {
			ERR_FAIL_COND(p_data[i].get_type() != Variant::STRING_NAME);
			monitors.set(i, p_data[i]);
		}
		performance_profiler->update_monitors(monitors);
	} else if (p_msg == "filesystem:update_file") {
		ERR_FAIL_COND(p_data.size() < 1);
		if (EditorFileSystem::get_singleton()) {
			EditorFileSystem::get_singleton()->update_file(p_data[0]);
		}
	} else {
		int colon_index = p_msg.find_char(':');
		ERR_FAIL_COND_MSG(colon_index < 1, "Invalid message received");
		bool parsed = EditorDebuggerNode::get_singleton()->plugins_capture(this, p_msg, p_data);
		if (!parsed) {
			WARN_PRINT("unknown message " + p_msg);
		}
	}
}
void ScriptEditorDebugger::_set_reason_text(const String &p_reason, MessageType p_type) {