summaryrefslogtreecommitdiff
path: root/platform/android/export
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-10-05 15:34:34 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-10-05 15:34:34 -0300
commit3d87b70f7a8cadaab581c481fcc51622e8043ee0 (patch)
tree0dcf539804decaf77f74086774a32c64872e7c11 /platform/android/export
parent928efe06d672d8afeb595f75878746a51e4dc2ce (diff)
Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
Diffstat (limited to 'platform/android/export')
-rw-r--r--platform/android/export/export.cpp2
1 files changed, 1 insertions, 1 deletions
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);