Fix folder crash in Project Manager

This commit is contained in:
kobewi 2026-01-01 20:42:06 +01:00
parent a8ebeb4dda
commit 2b855e73a4

View file

@ -99,6 +99,10 @@ void EditorFileDialog::_validate_property(PropertyInfo &p_property) const {
}
void EditorFileDialog::_dir_contents_changed() {
if (!EditorFileSystem::get_singleton()) {
return;
}
bool scan_required = false;
switch (get_access()) {
case FileDialog::ACCESS_RESOURCES: {