diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2016-10-22 12:48:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-22 12:48:59 +0200 |
commit | ac765fd5182d0aec4c68da41a23cef2322ea92b6 (patch) | |
tree | eddb375c0b4bf62d5515d413e5e605394e376a68 /tools/editor/script_create_dialog.h | |
parent | cf3ba3379f6888aa9520ce20b8121216cf5ba09b (diff) | |
parent | a84a46176729ffab82703bdff62fcde73dd6477d (diff) |
Merge pull request #6710 from lordadamson/master
fix #6031 when creating a script the default language will be what yo…
Diffstat (limited to 'tools/editor/script_create_dialog.h')
-rw-r--r-- | tools/editor/script_create_dialog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/editor/script_create_dialog.h b/tools/editor/script_create_dialog.h index 181989402e..c71ea16d39 100644 --- a/tools/editor/script_create_dialog.h +++ b/tools/editor/script_create_dialog.h @@ -33,6 +33,7 @@ #include "scene/gui/line_edit.h" #include "scene/gui/option_button.h" #include "tools/editor/editor_file_dialog.h" +#include "tools/editor/editor_settings.h" #include "scene/gui/check_button.h" class ScriptCreateDialog : public ConfirmationDialog { @@ -50,6 +51,7 @@ class ScriptCreateDialog : public ConfirmationDialog { AcceptDialog *alert; bool path_valid; String initial_bp; + EditorSettings *editor_settings; void _path_changed(const String& p_path=String()); |