summaryrefslogtreecommitdiffstats
path: root/editor
diff options
context:
space:
mode:
authorsamar-01 <66644907+samar-01@users.noreply.github.com>2023-06-10 15:31:08 -0400
committersamar-01 <66644907+samar-01@users.noreply.github.com>2023-06-10 22:47:16 -0400
commitd9e64d70011fd4d32c995adc399fda348ac8f5c5 (patch)
treed384136e11902f840a2b1510c854a58be6ca0e5d /editor
parent37d1dfef9d81aade27ab0c56fc6b6f12f6a08045 (diff)
downloadredot-engine-d9e64d70011fd4d32c995adc399fda348ac8f5c5.tar.gz
Changed error tree initialization to allow reselection
Diffstat (limited to 'editor')
-rw-r--r--editor/debugger/script_editor_debugger.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/debugger/script_editor_debugger.cpp b/editor/debugger/script_editor_debugger.cpp
index bef34b9e73..8985387043 100644
--- a/editor/debugger/script_editor_debugger.cpp
+++ b/editor/debugger/script_editor_debugger.cpp
@@ -1901,6 +1901,7 @@ ScriptEditorDebugger::ScriptEditorDebugger() {
error_tree->set_hide_root(true);
error_tree->set_v_size_flags(SIZE_EXPAND_FILL);
error_tree->set_allow_rmb_select(true);
+ error_tree->set_allow_reselect(true);
error_tree->connect("item_mouse_selected", callable_mp(this, &ScriptEditorDebugger::_error_tree_item_rmb_selected));
errors_tab->add_child(error_tree);