diff options
author | qarmin <mikrutrafal54@gmail.com> | 2019-02-09 14:36:16 +0100 |
---|---|---|
committer | qarmin <mikrutrafal54@gmail.com> | 2019-02-09 14:36:16 +0100 |
commit | 5b9662a2c5105817eeb41b3ec30c1a2945b8ea2e (patch) | |
tree | 37d6802bcb6d7ad27d3f036234fc540b32c346d8 | |
parent | 6c243326bd00e0894252baeaacf52897ff87f0e2 (diff) |
Rescan files and folders deleting them
-rw-r--r-- | editor/dependency_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/dependency_editor.cpp b/editor/dependency_editor.cpp index f9f1e455f5..f5a60f2553 100644 --- a/editor/dependency_editor.cpp +++ b/editor/dependency_editor.cpp @@ -475,7 +475,6 @@ void DependencyRemoveDialog::show(const Vector<String> &p_folders, const Vector< Vector<RemovedDependency> removed_deps; _find_all_removed_dependencies(EditorFileSystem::get_singleton()->get_filesystem(), removed_deps); removed_deps.sort(); - if (removed_deps.empty()) { owners->hide(); text->set_text(TTR("Remove selected files from the project? (no undo)")); @@ -486,6 +485,7 @@ void DependencyRemoveDialog::show(const Vector<String> &p_folders, const Vector< text->set_text(TTR("The files being removed are required by other resources in order for them to work.\nRemove them anyway? (no undo)")); popup_centered_minsize(Size2(500, 350)); } + EditorFileSystem::get_singleton()->scan_changes(); } void DependencyRemoveDialog::ok_pressed() { |