diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-12-30 17:11:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-30 17:11:42 +0100 |
commit | ea3262ee9bb4ed6ccb73d3123a0cc668bbf4ec18 (patch) | |
tree | 6038759cb4ceea341ff20c8bc059048c2d48dd45 /editor/filesystem_dock.cpp | |
parent | e1e2ffcfa1ed2f409107a5548841f1217610a02f (diff) | |
parent | 79a06e17bb22128b2c3926853e2eba6313a172c4 (diff) |
Merge pull request #34578 from timothyqiu/var-rename
Fixes variable naming in FileSystemDock
Diffstat (limited to 'editor/filesystem_dock.cpp')
-rw-r--r-- | editor/filesystem_dock.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index 16bb62ad17..5b08c3c567 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -1750,8 +1750,8 @@ void FileSystemDock::_file_option(int p_option, const Vector<String> &p_selected if (!fpath.ends_with("/")) { fpath = fpath.get_base_dir(); } - make_script_dialog_text->config("Node", fpath.plus_file("new_script.gd"), false); - make_script_dialog_text->popup_centered(Size2(300, 300) * EDSCALE); + make_script_dialog->config("Node", fpath.plus_file("new_script.gd"), false); + make_script_dialog->popup_centered(Size2(300, 300) * EDSCALE); } break; case FILE_COPY_PATH: { @@ -2686,9 +2686,9 @@ FileSystemDock::FileSystemDock(EditorNode *p_editor) { make_scene_dialog->register_text_enter(make_scene_dialog_text); make_scene_dialog->connect("confirmed", this, "_make_scene_confirm"); - make_script_dialog_text = memnew(ScriptCreateDialog); - make_script_dialog_text->set_title(TTR("Create Script")); - add_child(make_script_dialog_text); + make_script_dialog = memnew(ScriptCreateDialog); + make_script_dialog->set_title(TTR("Create Script")); + add_child(make_script_dialog); new_resource_dialog = memnew(CreateDialog); add_child(new_resource_dialog); |