diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index 250b82706af..bd0f580a342 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -1907,6 +1907,7 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) { erase_tab_confirm->connect("confirmed", this,"_close_current_tab"); script_create_dialog = memnew(ScriptCreateDialog); + script_create_dialog->set_title("Create Script"); add_child(script_create_dialog); script_create_dialog->connect("script_created", this, "_script_created"); diff --git a/tools/editor/script_create_dialog.cpp b/tools/editor/script_create_dialog.cpp index 0e6a283eb5b..622150ab68f 100644 --- a/tools/editor/script_create_dialog.cpp +++ b/tools/editor/script_create_dialog.cpp @@ -363,7 +363,7 @@ ScriptCreateDialog::ScriptCreateDialog() { set_size(Size2(200,150)); set_hide_on_ok(false); - set_title("Create Script for Node..");; + set_title("Create Script for Node"); file_browse = memnew( EditorFileDialog ); file_browse->connect("file_selected",this,"_file_selected");