You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
This commit is contained in:
@@ -93,7 +93,7 @@ void EditorSettingsDialog::popup_edit_settings() {
|
||||
_update_shortcuts();
|
||||
|
||||
// Restore valid window bounds or pop up at default size.
|
||||
if (EditorSettings::get_singleton()->has("interface/dialogs/editor_settings_bounds")) {
|
||||
if (EditorSettings::get_singleton()->has_setting("interface/dialogs/editor_settings_bounds")) {
|
||||
popup(EditorSettings::get_singleton()->get("interface/dialogs/editor_settings_bounds"));
|
||||
} else {
|
||||
popup_centered_ratio(0.7);
|
||||
|
||||
Reference in New Issue
Block a user