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
|
|
@ -506,7 +506,7 @@ public:
|
|||
|
||||
if (current->setup(project_path->get_text(), "")) {
|
||||
set_message(TTR("Couldn't get project.godot in the project path."), MESSAGE_ERROR);
|
||||
} else if (current->has("application/config/name")) {
|
||||
} else if (current->has_setting("application/config/name")) {
|
||||
project_name->set_text(current->get("application/config/name"));
|
||||
}
|
||||
project_name->grab_focus();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue