mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Fix doctool
crash and errors on macOS.
This commit is contained in:
parent
8de08c7c21
commit
ec37e7e97f
2 changed files with 4 additions and 2 deletions
|
@ -847,7 +847,9 @@ void ScriptCreateDialog::_bind_methods() {
|
|||
}
|
||||
|
||||
ScriptCreateDialog::ScriptCreateDialog() {
|
||||
EDITOR_DEF("_script_setup_templates_dictionary", Dictionary());
|
||||
if (EditorSettings::get_singleton()) {
|
||||
EDITOR_DEF("_script_setup_templates_dictionary", Dictionary());
|
||||
}
|
||||
|
||||
/* Main Controls */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue