EditorSettings: Rename settings_path to settings_dir

Also to prepare for upcoming refactoring for XDG support.
This commit is contained in:
Rémi Verschelde 2017-11-17 15:50:18 +01:00
parent 73049d115e
commit ad199c3964
19 changed files with 78 additions and 81 deletions

View file

@ -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() {