Merge pull request #79723 from KoBeWi/tfw_you_single-linedly_implement_a_proposal😎
Use existing `plugin.cfg`
This commit is contained in:
commit
593e30841d
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);
|
||||
|
||||
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", "description", desc_edit->get_text());
|
||||
cf->set_value("plugin", "author", author_edit->get_text());
|
||||
|
|
Loading…
Reference in a new issue