浏览代码

Enable text selection in execute output of EditorNode

Marcus Brummer 5 年之前
父节点
当前提交
85175c67b8
共有 1 个文件被更改,包括 1 次插入0 次删除
  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("");