diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-01-10 08:18:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-10 08:18:51 +0100 |
commit | 4b83bbd463200785db56644a26a18513389a92ad (patch) | |
tree | 6148694b35da2ae22ed47d09b5558dfbae0af53b /editor/plugins/script_editor_plugin.cpp | |
parent | 0d2993659b1a6b4eaafcae55dde116e297170f3a (diff) | |
parent | 8708d44a507c4888e3143b910ebdcfc5739acc8f (diff) |
Merge pull request #34937 from YeldhamDev/scriptdiag_disable_load
Add option to disable loading scripts in ScriptCreateDialog
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index d0bd57d658..f13abd47a9 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -1004,7 +1004,7 @@ void ScriptEditor::_menu_option(int p_option) { ScriptEditorBase *current = _get_current_editor(); switch (p_option) { case FILE_NEW: { - script_create_dialog->config("Node", "new_script", false); + script_create_dialog->config("Node", "new_script", false, false); script_create_dialog->popup_centered(); } break; case FILE_NEW_TEXTFILE: { |