### 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
} else if (!oe.source_func.is_empty()) {
			
			error_title += oe.source_func + ": ";
		}
		
		
		error_title += oe.error_descr.is_empty() ? oe.error : oe.error_descr;
		error->set_text(1, error_title);
		tooltip += " " + error_title + "\n";
		
		String source_language_name = "C++"; 
		const String source_file_extension = oe.source_file.get_extension();
		for (int i = 0; i < ScriptServer::get_language_count(); ++i) {
			ScriptLanguage *script_language = ScriptServer::get_language(i);
			if (source_file_extension == script_language->get_extension()) {
				source_language_name = script_language->get_name();
				break;
			}
		}
		if (!oe.error_descr.is_empty()) {
			
			TreeItem *cpp_cond = error_tree->create_item(error);
			
			cpp_cond->set_text(0, "<" + vformat(TTR("%s Error"), source_language_name) + ">");
			cpp_cond->set_text(1, oe.error);
			cpp_cond->set_text_alignment(0, HORIZONTAL_ALIGNMENT_LEFT);
			tooltip += vformat(TTR("%s Error:"), source_language_name) + " " + oe.error + "\n";
			if (source_is_project_file) {
				cpp_cond->set_metadata(0, source_meta);
			}