mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-21 08:26:19 +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