mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
EditorSettings: Rename settings_path to settings_dir
Also to prepare for upcoming refactoring for XDG support.
This commit is contained in:
parent
73049d115e
commit
ad199c3964
19 changed files with 78 additions and 81 deletions
|
@ -128,7 +128,7 @@ void ScriptCreateDialog::_template_changed(int p_template) {
|
|||
}
|
||||
String ext = ScriptServer::get_language(language_menu->get_selected())->get_extension();
|
||||
String name = template_list[p_template - 1] + "." + ext;
|
||||
script_template = EditorSettings::get_singleton()->get_settings_path() + "/script_templates/" + name;
|
||||
script_template = EditorSettings::get_singleton()->get_settings_dir() + "/script_templates/" + name;
|
||||
}
|
||||
|
||||
void ScriptCreateDialog::ok_pressed() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue