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 65beea6 + 375f88d commit 3cc90cdCopy full SHA for 3cc90cd
scene/gui/file_dialog.cpp
@@ -1573,7 +1573,7 @@ void FileDialog::_change_dir(const String &p_new_dir) {
1573
} else {
1574
String old_dir = dir_access->get_current_dir();
1575
dir_access->change_dir(p_new_dir);
1576
- if (!dir_access->get_current_dir(false).begins_with(root_prefix)) {
+ if (!dir_access->get_current_dir().begins_with(root_prefix)) {
1577
dir_access->change_dir(old_dir);
1578
return;
1579
}
0 commit comments