Merge pull request #23526 from Mintormo/fix-23480
(#23480) Fixed problem with wrong directory path
This commit is contained in:
commit
90d43084c2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue