summaryrefslogtreecommitdiffstats
path: root/editor/dependency_editor.h
diff options
context:
space:
mode:
authorThaddeus Crews <repiteo@outlook.com>2024-11-27 10:47:28 -0600
committerThaddeus Crews <repiteo@outlook.com>2024-11-27 10:47:28 -0600
commitce4674a0a5085746e4f4014fd6b3250248c0b52d (patch)
treed3df306234bd2e2100aedc0623fae50c7b53b6b8 /editor/dependency_editor.h
parent8b5f181d865780daafbf63d27248734cddb4afe8 (diff)
parent56d01fb46731c07503ee80ff774fa9aab4522e82 (diff)
downloadredot-engine-ce4674a0a5085746e4f4014fd6b3250248c0b52d.tar.gz
Merge pull request #98539 from pafuent/show_filename_when_delete
Show file names in remove files confirmation dialog
Diffstat (limited to 'editor/dependency_editor.h')
-rw-r--r--editor/dependency_editor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/dependency_editor.h b/editor/dependency_editor.h
index 0256f39979..93954cbd97 100644
--- a/editor/dependency_editor.h
+++ b/editor/dependency_editor.h
@@ -31,6 +31,7 @@
#ifndef DEPENDENCY_EDITOR_H
#define DEPENDENCY_EDITOR_H
+#include "scene/gui/box_container.h"
#include "scene/gui/dialogs.h"
#include "scene/gui/item_list.h"
#include "scene/gui/tab_container.h"
@@ -98,6 +99,8 @@ class DependencyRemoveDialog : public ConfirmationDialog {
Label *text = nullptr;
Tree *owners = nullptr;
+ VBoxContainer *vb_owners = nullptr;
+ ItemList *files_to_delete_list = nullptr;
HashMap<String, String> all_remove_files;
Vector<String> dirs_to_delete;
@@ -122,6 +125,7 @@ class DependencyRemoveDialog : public ConfirmationDialog {
void _find_all_removed_dependencies(EditorFileSystemDirectory *efsd, Vector<RemovedDependency> &p_removed);
void _find_localization_remaps_of_removed_files(Vector<RemovedDependency> &p_removed);
void _build_removed_dependency_tree(const Vector<RemovedDependency> &p_removed);
+ void _show_files_to_delete_list();
void ok_pressed() override;