Jelajahi Sumber

Merge pull request #39284 from mbrlabs/editornode-execute-output-selection

Enable text selection in the execute output of EditorNode
Rémi Verschelde 5 tahun lalu
induk
melakukan
b8ff8fe85c
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      editor/editor_node.cpp

+ 1 - 0
editor/editor_node.cpp

@@ -6568,6 +6568,7 @@ EditorNode::EditorNode() {
 	gui_base->add_child(load_error_dialog);
 
 	execute_outputs = memnew(RichTextLabel);
+	execute_outputs->set_selection_enabled(true);
 	execute_output_dialog = memnew(AcceptDialog);
 	execute_output_dialog->add_child(execute_outputs);
 	execute_output_dialog->set_title("");