Use existing plugin.cfg
This commit is contained in:
parent
86bf8354a0
commit
7b3da2348b
1 changed files with 1 additions and 0 deletions
|
@ -72,6 +72,7 @@ void PluginConfigDialog::_on_confirmed() {
|
||||||
String script_path = path.path_join(script_name);
|
String script_path = path.path_join(script_name);
|
||||||
|
|
||||||
Ref<ConfigFile> cf = memnew(ConfigFile);
|
Ref<ConfigFile> cf = memnew(ConfigFile);
|
||||||
|
cf->load(path.path_join("plugin.cfg"));
|
||||||
cf->set_value("plugin", "name", name_edit->get_text());
|
cf->set_value("plugin", "name", name_edit->get_text());
|
||||||
cf->set_value("plugin", "description", desc_edit->get_text());
|
cf->set_value("plugin", "description", desc_edit->get_text());
|
||||||
cf->set_value("plugin", "author", author_edit->get_text());
|
cf->set_value("plugin", "author", author_edit->get_text());
|
||||||
|
|
Loading…
Reference in a new issue