Merge pull request #23526 from Mintormo/fix-23480
(#23480) Fixed problem with wrong directory path
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user