From bc9952f1c787bc5a42d470a601e112af7319993a Mon Sep 17 00:00:00 2001 From: Maximillian Date: Sun, 9 Aug 2015 16:55:59 -0700 Subject: [PATCH] Fix create script dialog title(s) --- tools/editor/plugins/script_editor_plugin.cpp | 1 + tools/editor/script_create_dialog.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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");