diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-11-06 22:14:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-06 22:14:14 +0100 |
commit | 90d43084c204ca467b4a88ddc68bc9e2efa52d74 (patch) | |
tree | c493355f4ff27c0ee0ed0472ac4d0b74543f4bb6 /editor | |
parent | 1e6537bcc8f79b00ff28275277a62e3e94cdd894 (diff) | |
parent | 69bca28271846eba406e74b33203481ef0942ec8 (diff) |
Merge pull request #23526 from Mintormo/fix-23480
(#23480) Fixed problem with wrong directory path
Diffstat (limited to 'editor')
-rw-r--r-- | editor/filesystem_dock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp index bab51202dc..828e608fa4 100644 --- a/editor/filesystem_dock.cpp +++ b/editor/filesystem_dock.cpp @@ -1603,7 +1603,7 @@ 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 + "new_script.gd", false); + make_script_dialog_text->config("Node", fpath.plus_file("new_script.gd"), false); make_script_dialog_text->popup_centered(Size2(300, 300) * EDSCALE); } break; |