We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fe5d567 + 5583ac5 commit cead80eCopy full SHA for cead80e
editor/project_manager/project_dialog.cpp
@@ -315,6 +315,8 @@ void ProjectDialog::_create_dir_toggled(bool p_pressed) {
315
target_path = target_path.path_join(last_custom_target_dir);
316
}
317
} else {
318
+ // Strip any trailing slash.
319
+ target_path = target_path.rstrip("/\\");
320
// Save and remove target dir name.
321
if (target_path.get_file() == auto_dir) {
322
last_custom_target_dir = "";
0 commit comments