You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Added the set/get_setting function in Editor/Project settings. Renamed has() to has_setting. Fixes #11844
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user