summaryrefslogtreecommitdiff
path: root/editor/filesystem_dock.cpp
diff options
context:
space:
mode:
authorDualMatrix <piet.goris@gmail.com>2018-09-23 00:29:24 +0200
committerDualMatrix <piet.goris@gmail.com>2018-09-23 17:38:59 +0200
commit6dc0120c60eaac130fcf60fea83e9420f785380e (patch)
tree6805feb3f3afdf36148ff16d91af82c682b7a33f /editor/filesystem_dock.cpp
parent2613e59f59a67d78214e58cdb8856f50bfc08b19 (diff)
Prevent built-in-scripts from being made from FileSystem dock
Prevent built-in-scripts from being made from FileSystem dock
Diffstat (limited to 'editor/filesystem_dock.cpp')
-rw-r--r--editor/filesystem_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/filesystem_dock.cpp b/editor/filesystem_dock.cpp
index 46f89439c0..0a29cb9da5 100644
--- a/editor/filesystem_dock.cpp
+++ b/editor/filesystem_dock.cpp
@@ -1535,7 +1535,7 @@ void FileSystemDock::_file_option(int p_option, const Vector<String> p_selected)
if (!fpath.ends_with("/")) {
fpath = fpath.get_base_dir();
}
- make_script_dialog_text->config("Node", fpath + "new_script.gd");
+ make_script_dialog_text->config("Node", fpath + "new_script.gd", false);
make_script_dialog_text->popup_centered(Size2(300, 300) * EDSCALE);
} break;