Ver código fonte

Clear built-in name field when creating new script

kobewi 3 anos atrás
pai
commit
129d638805
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      editor/script_create_dialog.cpp

+ 1 - 0
editor/script_create_dialog.cpp

@@ -166,6 +166,7 @@ void ScriptCreateDialog::config(const String &p_base_name, const String &p_base_
 	class_name->deselect();
 	parent_name->set_text(p_base_name);
 	parent_name->deselect();
+	internal_name->set_text("");
 
 	if (!p_base_path.is_empty()) {
 		initial_bp = p_base_path.get_basename();