### 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
#include "script_editor_debugger.h"
#include "core/config/project_settings.h"
#include "core/debugger/debugger_marshalls.h"
#include "core/debugger/remote_debugger.h"
#include "core/io/marshalls.h"
#include "core/string/ustring.h"
#include "core/version.h"
#include "editor/debugger/debug_adapter/debug_adapter_protocol.h"
#include "editor/debugger/editor_performance_profiler.h"
#include "editor/debugger/editor_profiler.h"
#include "editor/debugger/editor_visual_profiler.h"
#include "editor/editor_file_system.h"
#include "editor/editor_log.h"
#include "editor/editor_node.h"
#include "editor/editor_property_name_processor.h"
#include "editor/editor_scale.h"
#include "editor/editor_settings.h"
#include "editor/gui/editor_file_dialog.h"
#include "editor/inspector_dock.h"