summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMaximillian <maximillian.pol@gmail.com>2015-08-09 16:55:59 -0700
committerMaximillian <maximillian.pol@gmail.com>2015-08-09 16:55:59 -0700
commitbc9952f1c787bc5a42d470a601e112af7319993a (patch)
tree9672f3b2e6e2f8659e96e26c234265f5ed9538e0 /tools
parent8f83f6c67551b86f4eb0661d5594f29e5c84a51c (diff)
Fix create script dialog title(s)
Diffstat (limited to 'tools')
-rw-r--r--tools/editor/plugins/script_editor_plugin.cpp1
-rw-r--r--tools/editor/script_create_dialog.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp
index 250b82706a..bd0f580a34 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 0e6a283eb5..622150ab68 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");