summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-20 23:25:24 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-20 23:25:24 +0100
commit82992523c033039b54c9b60694225d01ae4d89b6 (patch)
tree26441d81b30b943c50627d2541658220fe5a8a2c
parent15df1ffa9ba4b007150ae407b7d3b23918b086fa (diff)
parente0d2b7835d2c5b9602a8d3edbe9b6eecdb8bb26e (diff)
Merge pull request #68928 from Zylann/shader_log_allow_selection
Allow selecting text in shader compilation logs
-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);
}