Merge pull request #78403 from AThousandShips/create_size_fix
[4.0] Fix saving size in `CreateDialog`
This commit is contained in:
commit
4eefe8a40e
@ -457,7 +457,7 @@ void CreateDialog::_notification(int p_what) {
|
||||
search_box->call_deferred(SNAME("grab_focus")); // still not visible
|
||||
search_box->select_all();
|
||||
} else {
|
||||
EditorSettings::get_singleton()->get_project_metadata("dialog_bounds", "create_new_node", Rect2(get_position(), get_size()));
|
||||
EditorSettings::get_singleton()->set_project_metadata("dialog_bounds", "create_new_node", Rect2(get_position(), get_size()));
|
||||
}
|
||||
} break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user