summaryrefslogtreecommitdiffstats
path: root/editor/filesystem_dock.cpp
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2022-03-10 19:46:31 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2022-03-12 12:57:05 +0300
commit073abe4b9c633a00256957abd7a6352cec1ee0b8 (patch)
tree6094d29365fdcea298092c5a5284f8326c380591 /editor/filesystem_dock.cpp
parentd5076439e44e6eab5732e1d2fc0f30bb6f34e5f9 (diff)
downloadredot-engine-073abe4b9c633a00256957abd7a6352cec1ee0b8.tar.gz
Add "Add Script" option to project autoload settings
Diffstat (limited to 'editor/filesystem_dock.cpp')
-rw-r--r--editor/filesystem_dock.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 58074207ff..b2c216297e 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -2087,6 +2087,10 @@ void FileSystemDock::focus_on_filter() {
}
}
+ScriptCreateDialog *FileSystemDock::get_script_create_dialog() const {
+ return make_script_dialog;
+}
+
void FileSystemDock::set_file_list_display_mode(FileListDisplayMode p_mode) {
if (p_mode == file_list_display_mode) {
return;