aboutsummaryrefslogtreecommitdiff
path: root/editor/project_export.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-10-05 15:34:34 -0300
committerJuan Linietsky2017-10-05 15:34:34 -0300
commit3d87b70f7a8cadaab581c481fcc51622e8043ee0 (patch)
tree0dcf539804decaf77f74086774a32c64872e7c11 /editor/project_export.cpp
parent928efe06d672d8afeb595f75878746a51e4dc2ce (diff)
downloadgodot-3d87b70.tar.gz
godot-3d87b70.tar.zst
godot-3d87b70.zip
Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
Diffstat (limited to 'editor/project_export.cpp')
-rw-r--r--editor/project_export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_export.cpp b/editor/project_export.cpp
index fafd6805c..e5b6f8e40 100644
--- a/editor/project_export.cpp
+++ b/editor/project_export.cpp
@@ -71,7 +71,7 @@ void ProjectExportDialog::popup_export() {
_update_presets();
// Restore valid window bounds or pop up at default size.
- if (EditorSettings::get_singleton()->has("interface/dialogs/export_bounds")) {
+ if (EditorSettings::get_singleton()->has_setting("interface/dialogs/export_bounds")) {
popup(EditorSettings::get_singleton()->get("interface/dialogs/export_bounds"));
} else {
popup_centered_ratio();