Fix create script dialog title(s)

This commit is contained in:
Maximillian 2015-08-09 16:55:59 -07:00
parent 8f83f6c675
commit bc9952f1c7
2 changed files with 2 additions and 1 deletions

View File

@ -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");

View File

@ -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");