Explorar o código

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

Enable text selection in the execute output of EditorNode
Rémi Verschelde %!s(int64=5) %!d(string=hai) anos
pai
achega
b8ff8fe85c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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("");