You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
If a resource is delete from fs dialog, but the resource is currently loaded,
clear the path of the resource. Fixes #5110
This commit is contained in:
@@ -1052,6 +1052,7 @@ void ScenesDock::_file_option(int p_option) {
|
||||
if (path.ends_with("/") || !files->is_selected(i))
|
||||
continue;
|
||||
torem.push_back(path);
|
||||
|
||||
}
|
||||
|
||||
if (torem.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user