From 71ed53828579a144e3902cf79ae91202bc685c68 Mon Sep 17 00:00:00 2001 From: Roman Bug Date: Tue, 27 Oct 2020 15:48:04 +0300 Subject: [PATCH] Update README.md --- tools/project_template/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/project_template/README.md b/tools/project_template/README.md index 1e19ff1c34..48711ef18f 100644 --- a/tools/project_template/README.md +++ b/tools/project_template/README.md @@ -51,7 +51,7 @@ Here's an example of what the settings look like in the Settings screen: ### How to add your module's settings page -The PowerToy can set its settings information and controls by overriding the [PowerToy's Interface `get_config` method](/src/modules/interface/README.md#get_config) and returning a serialized [`PowerToysSettings::Settings`](/src/common/settings_object.h) object that's been filled with the required informations and controls. +The PowerToy can set its settings information and controls by overriding the [PowerToy's Interface `get_config` method](/src/modules/interface/README.md#get_config) and returning a serialized [`PowerToysSettings::Settings`](/src/common/settings_object.h) object that's been filled with the required information and controls. The PowerToy can receive the new values by overriding the [PowerToy's Interface `set_config` method](/src/modules/interface/README.md#set_config), parsing the serialized [`PowerToysSettings::PowerToyValues`](/src/common/settings_object.h) object and applying the new settings.