You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-31 18:41:20 +00:00
Use EditorFileDialog eveywhere in the editor
This commit is contained in:
@@ -39,10 +39,10 @@
|
||||
#include "editor/export/editor_export_preset.h"
|
||||
#include "editor/file_system/editor_file_system.h"
|
||||
#include "editor/file_system/editor_paths.h"
|
||||
#include "editor/gui/editor_file_dialog.h"
|
||||
#include "editor/gui/progress_dialog.h"
|
||||
#include "editor/settings/editor_settings.h"
|
||||
#include "editor/themes/editor_scale.h"
|
||||
#include "scene/gui/file_dialog.h"
|
||||
#include "scene/gui/line_edit.h"
|
||||
#include "scene/gui/link_button.h"
|
||||
#include "scene/gui/margin_container.h"
|
||||
@@ -1163,7 +1163,7 @@ ExportTemplateManager::ExportTemplateManager() {
|
||||
add_child(uninstall_confirm);
|
||||
uninstall_confirm->connect(SceneStringName(confirmed), callable_mp(this, &ExportTemplateManager::_uninstall_template_confirmed));
|
||||
|
||||
install_file_dialog = memnew(FileDialog);
|
||||
install_file_dialog = memnew(EditorFileDialog);
|
||||
install_file_dialog->set_title(TTR("Select Template File"));
|
||||
install_file_dialog->set_access(FileDialog::ACCESS_FILESYSTEM);
|
||||
install_file_dialog->set_file_mode(FileDialog::FILE_MODE_OPEN_FILE);
|
||||
|
||||
Reference in New Issue
Block a user