From e0d2b7835d2c5b9602a8d3edbe9b6eecdb8bb26e Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Sun, 20 Nov 2022 19:15:39 +0000 Subject: Allow selecting text in shader compilation logs --- editor/plugins/shader_file_editor_plugin.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/plugins/shader_file_editor_plugin.cpp b/editor/plugins/shader_file_editor_plugin.cpp index 4874944d33..dd644cb369 100644 --- a/editor/plugins/shader_file_editor_plugin.cpp +++ b/editor/plugins/shader_file_editor_plugin.cpp @@ -286,6 +286,7 @@ ShaderFileEditor::ShaderFileEditor() { error_text = memnew(RichTextLabel); error_text->set_v_size_flags(SIZE_EXPAND_FILL); + error_text->set_selection_enabled(true); main_vb->add_child(error_text); } -- cgit v1.2.3