Pārlūkot izejas kodu

Merge pull request #68928 from Zylann/shader_log_allow_selection

Allow selecting text in shader compilation logs
Rémi Verschelde 2 gadi atpakaļ
vecāks
revīzija
82992523c0
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  1. 1 0
      editor/plugins/shader_file_editor_plugin.cpp

+ 1 - 0
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);
 }