Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
This commit is contained in:
parent
928efe06d6
commit
3d87b70f7a
19 changed files with 81 additions and 48 deletions
|
|
@ -83,7 +83,7 @@ void CreateDialog::popup_create(bool p_dontclear) {
|
|||
_update_favorite_list();
|
||||
|
||||
// Restore valid window bounds or pop up at default size.
|
||||
if (EditorSettings::get_singleton()->has("interface/dialogs/create_new_node_bounds")) {
|
||||
if (EditorSettings::get_singleton()->has_setting("interface/dialogs/create_new_node_bounds")) {
|
||||
popup(EditorSettings::get_singleton()->get("interface/dialogs/create_new_node_bounds"));
|
||||
} else {
|
||||
popup_centered_ratio();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue