1
0
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:
Juan Linietsky
2016-06-09 21:43:28 -03:00
parent 94a6ff3d7a
commit f4ff30dff0
2 changed files with 6 additions and 0 deletions

View File

@@ -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()) {