From 3d87b70f7a8cadaab581c481fcc51622e8043ee0 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 5 Oct 2017 15:34:34 -0300 Subject: Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844 --- platform/android/export/export.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/android/export') diff --git a/platform/android/export/export.cpp b/platform/android/export/export.cpp index e3615e2298..9fe1f291d6 100644 --- a/platform/android/export/export.cpp +++ b/platform/android/export/export.cpp @@ -871,7 +871,7 @@ class EditorExportAndroid : public EditorExportPlatform { String lang = str.substr(str.find_last("-") + 1, str.length()).replace("-", "_"); String prop = "application/config/name_" + lang; - if (ProjectSettings::get_singleton()->has(prop)) { + if (ProjectSettings::get_singleton()->has_setting(prop)) { str = ProjectSettings::get_singleton()->get(prop); } else { str = get_project_name(package_name); -- cgit v1.2.3