We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a5d6d1 commit a299004Copy full SHA for a299004
editor/script/script_create_dialog.cpp
@@ -124,7 +124,7 @@ void ScriptCreateDialog::_notification(int p_what) {
124
} else {
125
language_menu->select(default_language);
126
}
127
- is_using_templates = EDITOR_DEF("_script_setup_use_script_templates", false);
+ is_using_templates = EDITOR_GET("_script_setup_use_script_templates");
128
use_templates->set_pressed(is_using_templates);
129
} break;
130
@@ -849,6 +849,7 @@ void ScriptCreateDialog::_bind_methods() {
849
ScriptCreateDialog::ScriptCreateDialog() {
850
if (EditorSettings::get_singleton()) {
851
EDITOR_DEF("_script_setup_templates_dictionary", Dictionary());
852
+ EDITOR_DEF("_script_setup_use_script_templates", true);
853
854
855
/* Main Controls */
0 commit comments