mirror of
https://github.com/godotengine/godot.git
synced 2026-03-03 20:55:48 +00:00
Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user