summaryrefslogtreecommitdiff
path: root/editor/plugins/shader_file_editor_plugin.cpp
diff options
context:
space:
mode:
authorMarc Gilleron <marc.gilleron@gmail.com>2022-11-20 19:15:39 +0000
committerMarc Gilleron <marc.gilleron@gmail.com>2022-11-20 19:15:39 +0000
commite0d2b7835d2c5b9602a8d3edbe9b6eecdb8bb26e (patch)
tree09aca143cec12b9cab1d6edea513fd1c4157237d /editor/plugins/shader_file_editor_plugin.cpp
parent98da707df5a40d37e85070cec6babfee4fae5765 (diff)
Allow selecting text in shader compilation logs
Diffstat (limited to 'editor/plugins/shader_file_editor_plugin.cpp')
-rw-r--r--editor/plugins/shader_file_editor_plugin.cpp1
1 files changed, 1 insertions, 0 deletions
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);
}